[Date Prev ][Date Next ][Thread Prev ][Thread Next ][Date Index ][Thread Index ]
Re: The 'source x' command doesn't keep variables set by x when source o
From :
Greg Wooledge
Subject :
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command
Date :
Wed, 13 Nov 2024 19:53:33 -0500
On Wed, Nov 13, 2024 at 15:56:57 -0800, Yuri wrote:
> On 11/13/24 15:44, Greg Wooledge wrote:
> > If the "user script" runs quickly enough, then: source userscript
> > >logfile 2>&1 cat logfile
>
>
> This would fail to save the user script's output in case it would execute
> "exit 1"
Then don't do that.
These questions with unclear mission statements and moving goal posts
are extremely frustrating.
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , (continued)
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , Greg Wooledge , 2024/11/13
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , Yuri , 2024/11/13
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , #!microsuxx , 2024/11/13
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , #!microsuxx , 2024/11/13
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , #!microsuxx , 2024/11/13
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , #!microsuxx , 2024/11/13
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command ,
Greg Wooledge <=
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , Martin D Kealey , 2024/11/13
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , Yuri , 2024/11/14
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , Chet Ramey , 2024/11/14
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , Martin D Kealey , 2024/11/15
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , Robert Elz , 2024/11/16
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , Martin D Kealey , 2024/11/16
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , Oğuz , 2024/11/16
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , Chet Ramey , 2024/11/16
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , Martin D Kealey , 2024/11/18
Re: The 'source x' command doesn't keep variables set by x when source output is piped into other command , Oğuz , 2024/11/18