Sujet : Re: Different variable assignments
De : Lem (at) *nospam* none.invalid (Lem Novantotto)
Groupes : comp.unix.shellDate : 12. Oct 2024, 18:09:20
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <veeag0$786f$2@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Pan/0.160 (Toresk; )
Il Sat, 12 Oct 2024 17:57:16 +0200, Frank Winkler ha scritto:
I think you're right. But why doesn't it work in ksh?
Uhm... It should work. Here it works, at least.
And sometimes something like that *may* work in bash, too, provided
we set:
$ shopt -s lastpipe
But my command doesn't work instead, in bash. That's why:
| lastpipe
| If set, and job control is not active, the shell runs the last command
| of a pipeline not executed in the background in the current shell
| environment.
-- Bye, Lem