From 88bc7f1209668aa64b2f110121f6f4a2506b9d0c Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 7 Jul 2022 20:23:13 +0000 Subject: deploy: 8018375d79d74f2911c335337722a719cf87c72e --- print.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'print.html') diff --git a/print.html b/print.html index e951eaa..2190694 100644 --- a/print.html +++ b/print.html @@ -502,7 +502,7 @@ ${foo/pattern/string} # replace pattern with string when expanding foo alnum,alpha,ascii,blank,cntrl,digit,graph,lower, print,punct,space,upper,word,xdigit -

Wit extglob shell option enabled it is possible to have more powerful +

With 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
 
+
+

The article Bash One-Liners Explained, Part III: All about +redirections +contains some nice visualization to explain bash redirections.

+

Explanation

j>&i
 
@@ -2024,7 +2029,8 @@ package and sort by size.

sort -h

dot(1)

-

Example dot file to copy & paste from.

+

Online playground

+

Example 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