From 920d16436e0d5f37e9f6d31236ee87b716f3c82f Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 25 Jan 2024 07:33:01 +0000 Subject: deploy: f7fb4c7303a5776ddb421d182a92f679a8b0f868 --- tools/zsh.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tools/zsh.html') diff --git a/tools/zsh.html b/tools/zsh.html index 4597a1b..fdcb06e 100644 --- a/tools/zsh.html +++ b/tools/zsh.html @@ -310,6 +310,13 @@ echo ${(kv)vec} # a aa b bb # Iterate over key value pairs. for k v in ${(kv)vec)}; do ...; done +

I/O redirections

+

See bash - I/O redirection

+

Process substitution

+

Process substitution allows to redirect the stdout of multiple processes at +once.

+
vim -d <(grep foo bar) <(grep foo moose)
+

Argument parsing with zparseopts

zparseopts [-D] [-E] [-A assoc] specs
 
-- cgit v1.2.3