zsh-users
 help / color / mirror / code / Atom feed
* empty pipes
@ 2022-12-12  3:17 Ray Andrews
  2022-12-12  3:40 ` Bart Schaefer
  0 siblings, 1 reply; 13+ messages in thread
From: Ray Andrews @ 2022-12-12  3:17 UTC (permalink / raw)
  To: Zsh Users

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.




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-12-16 14:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-12  3:17 empty pipes Ray Andrews
2022-12-12  3:40 ` Bart Schaefer
2022-12-12 14:01   ` Ray Andrews
2022-12-13  2:04     ` Bart Schaefer
2022-12-14 13:05       ` Are there zsh error message explanation Xiao Ling XL Chen
2022-12-15 21:18         ` Daniel Shahaf
2022-12-16  3:28           ` Bart Schaefer
2022-12-16  3:53             ` Ray Andrews
2022-12-16  4:07               ` Bart Schaefer
2022-12-16 14:16                 ` Ray Andrews
2022-12-16 12:47             ` Daniel Shahaf
2022-12-16 14:00               ` Ray Andrews
2022-12-16  1:17       ` empty pipes Ellenor Bjornsdottir

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).