Liste des Groupes | Revenir à cu shell |
In article <vec3qb$3q4ms$3@dont-email.me>,
Lawrence D'Oliveiro <ldo@nz.invalid> wrote: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
I'm actually a fan of "coproc" in bash, and I use it in my scripting, but I
think it is overkill in most cases. [...]
Les messages affichés proviennent d'usenet.