From 920d16436e0d5f37e9f6d31236ee87b716f3c82f Mon Sep 17 00:00:00 2001
From: johannst Process substitution allows to redirect the stdout of multiple processes at
+once.I/O redirections
+
+Process substitution
+vim -d <(grep foo bar) <(grep foo moose)
+
Argument parsing with
zparseopts
@@ -589,6 +596,11 @@ contains some nice visualization to explain bash redirections.zparseopts [-D] [-E] [-A assoc] specs
fd 1
to fd 2
, effectively redirecting stderr
to stdout
stdout
to file
Process substitution allows to redirect the stdout of multiple processes at +once.
+vim -d <(grep foo bar) <(grep foo moose)
+
getopts
The getopts
builtin uses following global variables:
# 'noclobber', fail if 'log' already exists
echo foo >? log
+Redirect output of multiple processes. Same as <(..)
in bash.
diff (sort a | psub) (sort b | psub)
+
if
/ else
if grep foo bar
--
cgit v1.2.3