Sujet : lastpipe (Was: Different variable assignments)
De : gazelle (at) *nospam* shell.xmission.com (Kenny McCormack)
Groupes : comp.unix.shellDate : 19. Oct 2024, 12:47:16
Autres entêtes
Organisation : The official candy of the new Millennium
Message-ID : <vf0684$3dhev$2@news.xmission.com>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
veeag0$786f$2@dont-email.me>,
Lem Novantotto <
Lem@none.invalid> wrote:
...
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.
The key phrase here is "job control is not active". AFAICT, "lastpipe" (bash)
works in a script, but not interactively.
-- You know politics has really been turned upside down when you have someone in thegovernment with a last name of Cheney (Liz, Senator from Wyoming) who is the voice ofreason.