aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2022-07-07 22:22:11 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2022-07-07 22:22:11 +0200
commit57499b29f9f307eeec221dbe8077599050121595 (patch)
treec1180997043e1f2c0b2080d4d63edb7f2b0c1be2 /src/tools
parenta74c8fa1d5ded7978f5642209c9dd0052230164a (diff)
downloadnotes-57499b29f9f307eeec221dbe8077599050121595.tar.gz
notes-57499b29f9f307eeec221dbe8077599050121595.zip
[bash]: add link to io redirections
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/bash.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tools/bash.md b/src/tools/bash.md
index 2ce0523..9150963 100644
--- a/src/tools/bash.md
+++ b/src/tools/bash.md
@@ -59,7 +59,7 @@ ${foo/pattern/string} # replace pattern with string when expanding foo
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.
@@ -86,6 +86,9 @@ command &>file
# stderr to stdout & stdout to file
command 2>&1 >file
```
+> The article [Bash One-Liners Explained, Part III: All about
+> redirections](https://catonmat.net/bash-one-liners-explained-part-three)
+> contains some nice visualization to explain bash redirections.
### Explanation