Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: detect pipe
On Sun, Jan 31, 2021 at 11:12 AM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> Because it keeps 'tabs' from being fed arguments that it doesn't want,
> and zsh is then smart enough to sent those args on to the next command :-)
Well, not arguments, but standard input from the pipe (or wherever).
This doesn't really have anything to do with zsh, it's how file
descriptors work at the OS level. Zsh is just providing you a tool to
make use of that.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author