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

Re: detect pipe



On 2021-01-30 11:00 a.m., Bart Schaefer wrote:
ubuntu% ls /dev/fd/0
/dev/fd/0
ubuntu% ls /dev/fd/0 <&-
ls: cannot access '/dev/fd/0': No such file or directory

What would be the practical use of that?





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