summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-01-03 10:08:13 +0000
committerPaul Buetow <paul@buetow.org>2022-01-03 10:08:13 +0000
commit1152505ab20b13f970e45891a595247dd3e941c1 (patch)
tree4b7c627c6b6d89427d3f341af862ed1f3faf6eae
parent92873fffdaa5d14125d72b0a01015dc807f56141 (diff)
Publishing new version
-rw-r--r--gemfeed/2022-01-01-bash-golf-part-2.html2
-rw-r--r--gemfeed/atom.xml4
-rw-r--r--other-resources.html2
3 files changed, 4 insertions, 4 deletions
diff --git a/gemfeed/2022-01-01-bash-golf-part-2.html b/gemfeed/2022-01-01-bash-golf-part-2.html
index 7c38378f..ab8b691c 100644
--- a/gemfeed/2022-01-01-bash-golf-part-2.html
+++ b/gemfeed/2022-01-01-bash-golf-part-2.html
@@ -48,7 +48,7 @@ Foo
</pre>
<p>Other useful redirections are:</p>
<ul>
-<li>Redirect stderr to stdin: "echo foo 2>&1"</li>
+<li>Redirect stderr to stdin: "echo foo 2&gt;&amp;1"</li>
<li>Redirect stdin to stderr: "echo foo &gt;&amp;2"</li>
</ul>
<p>It is, however, not possible to redirect multiple times within the same command. E.g. the following won't work. You would expect stdin to be redirected to stderr and then stderr to be redirected to /dev/null. But as the example shows, Foo is still printed out:</p>
diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml
index be5b1eac..a8ca674f 100644
--- a/gemfeed/atom.xml
+++ b/gemfeed/atom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
- <updated>2021-12-31T23:52:27+00:00</updated>
+ <updated>2022-01-03T10:07:32+00:00</updated>
<title>snonux.de feed</title>
<subtitle>Having fun with computers!</subtitle>
<link href="https://snonux.de/gemfeed/atom.xml" rel="self" />
@@ -59,7 +59,7 @@ Foo
</pre>
<p>Other useful redirections are:</p>
<ul>
-<li>Redirect stderr to stdin: "echo foo 2>&1"</li>
+<li>Redirect stderr to stdin: "echo foo 2&gt;&amp;1"</li>
<li>Redirect stdin to stderr: "echo foo &gt;&amp;2"</li>
</ul>
<p>It is, however, not possible to redirect multiple times within the same command. E.g. the following won't work. You would expect stdin to be redirected to stderr and then stderr to be redirected to /dev/null. But as the example shows, Foo is still printed out:</p>
diff --git a/other-resources.html b/other-resources.html
index e0a7f2ab..b9109962 100644
--- a/other-resources.html
+++ b/other-resources.html
@@ -9,7 +9,7 @@
<body>
<h1>Other resources</h1>
<h2>Novels</h2>
-<p>This site lists my favourite the novels I have read. I prefer to read them in German though. You will notice that these are mostly Science Fiction novels. Where possible, this page shows both, english (en) and german (de), titles.</p>
+<p>This site lists my favourite novels I have read. I prefer to read them in German though. You will notice that these are mostly Science Fiction novels. Where possible, this page shows both, english (en) and german (de), titles.</p>
<p>Some were read as paperback, others as eBooks. A very few were listened to (Audio book).</p>
<pre>
. . ' .