Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: non-interactive set -m
- X-seq: zsh-workers 27132
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: non-interactive set -m
- Date: Sat, 11 Jul 2009 20:05:04 +0100
- In-reply-to: Message from Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> of "Sat, 11 Jul 2009 19:57:02 BST." <20090711195702.52896b2a@pws-pc>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Peter Stephenson wrote:
> (The other chunk is because we allow "jobs" to work in a subshell
> so you can pipe its output---if you "set -m" you're effectively making
> the shell the output for "jobs" twice.)
^
The missing word is "save". When you do "set -m" in the subshell you're
wiping the record of the parent shell's job control---that's inevitable
if you now want the subshell to do its own job control.
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author