Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: jobs -d &>/dev/null still produces output?




On Nov 3, 2006, at 1:48 PM, Matt Wozniski wrote:

I'm a bit confused by something zsh is doing.

Test case:

sleep 1000 &
jobs -d &>/dev/null

Why does this still produce output?  Is there any way to redirect the
line that's still appearing on screen?  And what on earth is the
'shout' file descriptor tied to?   :)

Thanks!

~Matt

Could be that jobs is using STERR not just STDOUT

Try redirecting STDERR, for example

lskdjf 2&>/dev/null

Produces no output (it should say "command not found" or something similar)

--
Mike



Messages sorted by: Reverse Date, Date, Thread, Author