Deutsch English Français Italiano |
<slrnvgjcvj.2cra.naddy@lorvorc.mips.inka.de> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.szaf.org!inka.de!mips.inka.de!.POSTED.localhost!not-for-mail From: Christian Weisgerber <naddy@mips.inka.de> Newsgroups: comp.unix.shell Subject: Re: Different variable assignments Date: Fri, 11 Oct 2024 23:25:39 -0000 (UTC) Message-ID: <slrnvgjcvj.2cra.naddy@lorvorc.mips.inka.de> References: <lmt83dFsvbvU3@mid.individual.net> <83y12u2xyt.fsf@helmutwaitzmann.news.arcor.de> <lmthc2F9kfU1@mid.individual.net> Injection-Date: Fri, 11 Oct 2024 23:25:39 -0000 (UTC) Injection-Info: lorvorc.mips.inka.de; posting-host="localhost:::1"; logging-data="78699"; mail-complaints-to="usenet@mips.inka.de" User-Agent: slrn/1.0.3 (FreeBSD) Bytes: 1169 Lines: 15 On 2024-10-11, Frank Winkler <usenet@f.winkler-ka.de> wrote: > $ 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. read var3 <<EOF $(uname -sr) EOF echo "$var3" -- Christian "naddy" Weisgerber naddy@mips.inka.de