Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
empty pipes
- X-seq: zsh-users 28523
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: empty pipes
- Date: Sun, 11 Dec 2022 19:17:38 -0800
- Archived-at: <https://zsh.org/users/28523>
- List-id: <zsh-users.zsh.org>
Is there some way of asking zsh to ignore an empty pipe? I attempted
something like this:
print $string | $filter | $another_filter
... and it won't accept the filter being empty but sometimes I want the
filtering and sometimes not. There's other ways to do it of course, but
the above would be cool it it could be made to work.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author