From 88bc7f1209668aa64b2f110121f6f4a2506b9d0c Mon Sep 17 00:00:00 2001
From: johannst Wit With The article Bash One-Liners Explained, Part III: All about
+redirections
+contains some nice visualization to explain bash redirections.extglob
shell option enabled it is possible to have more powerful
+extglob
shell option enabled it is possible to have more powerful
patterns. In the following pattern-list
is one ore more patterns separated
by |
char.
+?(pattern-list) matches zero or one occurrence of the given patterns
@@ -527,6 +527,11 @@ command &>file
# stderr to stdout & stdout to file
command 2>&1 >file
+
Explanation
@@ -2024,7 +2029,8 @@ package and sort by size.j>&i
Example dot
file to copy & paste from.
dot
file to copy & paste from.Can be rendered to svg
with the following command.
dot -T svg -o g.svg g.dot
--
cgit v1.2.3