summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-12-10 07:55:38 +0200
committerPaul Buetow <paul@buetow.org>2023-12-10 07:55:38 +0200
commitc06a16a520f7514ef5af09042241067bca808dd5 (patch)
treeca24b2b573190cbfda57a92e2958482ac65c1f7a
parent8b7c8613396c6ccbf8bf2ba110e592542d2ae41b (diff)
add errand
-rw-r--r--gemfeed/2022-01-01-bash-golf-part-2.gmi.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/gemfeed/2022-01-01-bash-golf-part-2.gmi.tpl b/gemfeed/2022-01-01-bash-golf-part-2.gmi.tpl
index ceb85ba1..a59c9d9e 100644
--- a/gemfeed/2022-01-01-bash-golf-part-2.gmi.tpl
+++ b/gemfeed/2022-01-01-bash-golf-part-2.gmi.tpl
@@ -46,6 +46,8 @@ Foo
Foo
```
+> Update: A reader pointed out, that the redirection should actually go to `/proc/self/fd/1` and not `0`. But apparently, either way works for this particular example. Do you know why?
+
Other useful redirections are:
* Redirect stderr to stdin: "echo foo 2>&1"