[Semibug] Setting environment variables

Steve Litt slitt at troubleshooters.com
Thu Aug 10 19:41:06 EDT 2023


BCLUG said on Wed, 9 Aug 2023 16:37:49 -0700


>in the following example, the code inside brackets is slightly
>isolated from the `pwd` that runs afterwards:
>
>> $ (cd subshell-test/ ; pwd); pwd
>> /tmp/semibug/subshell-test
>> /tmp/semibug  

You said brackets but used parentheses. Did you mean to use square
brackets in the code?

Thanks,

SteveT

Steve Litt 
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm



More information about the Semibug mailing list