Path: ...!news.mixmin.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Frank Winkler Newsgroups: comp.unix.shell Subject: Re: Different variable assignments Date: Fri, 11 Oct 2024 22:50:10 +0200 Lines: 17 Message-ID: References: <83y12u2xyt.fsf@helmutwaitzmann.news.arcor.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net Erc5tM2mif6tmMZkvsx+GgLcVRtcusy+tjYT+HDGSfiKKYbeYl Cancel-Lock: sha1:idgIcoobeJBy2sJOt5uQbUj2KLo= sha256:MTN9fkCQ7Nmya58OfMUQdT7ZL8gKyG2QXY+LvoBWvLI= User-Agent: Mozilla Thunderbird Beta Content-Language: en-US In-Reply-To: <83y12u2xyt.fsf@helmutwaitzmann.news.arcor.de> Bytes: 1216 On 11.10.2024 22:20, Helmut Waitzmann wrote: > uname -sr | { read var3 ; echo $var3 ; } That's exactly how I just wanted to confirm John-Paul's answer ... $ uname -sr | ( read var3; echo $var3 ) Darwin 24.0.0 $ .... but it still doesn't solve the issue that I need the result to be visible in the parent shell. Regards fw