Sujet : Re: Different variable assignments
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.unix.shellDate : 11. Oct 2024, 22:03:07
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vec3qb$3q4ms$3@dont-email.me>
References : 1 2 3
User-Agent : Pan/0.160 (Toresk; )
On Fri, 11 Oct 2024 22:50:10 +0200, Frank Winkler wrote:
... but it still doesn't solve the issue that I need the result to be
visible in the parent shell.
coproc { uname -sr; }
read -u ${COPROC[0]} var3
wait $COPROC_PID
echo $var3