From 89f83d49ad7d4cd8baa815993d3172ca72e5b30e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 8 Apr 2023 12:32:25 +0300 Subject: Update content for html --- gemfeed/2022-01-01-bash-golf-part-2.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'gemfeed/2022-01-01-bash-golf-part-2.html') diff --git a/gemfeed/2022-01-01-bash-golf-part-2.html b/gemfeed/2022-01-01-bash-golf-part-2.html index bbf12b21..57946256 100644 --- a/gemfeed/2022-01-01-bash-golf-part-2.html +++ b/gemfeed/2022-01-01-bash-golf-part-2.html @@ -10,7 +10,7 @@

Bash Golf Part 2



-Published at 2022-01-01T23:36:15+00:00; Updated at 2022-01-05
+Published at 2022-01-01T23:36:15+00:00; Updated at 2022-01-05

 
@@ -26,8 +26,8 @@ jgs^^^^^^^`^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
This is the second blog post about my Bash Golf series. This series is random Bash tips, tricks and weirdnesses I came across. It's a collection of smaller articles I wrote in an older (in German language) blog, which I translated and refreshed with some new content.

-2022-01-01 Bash Golf Part 2 (You are currently reading this)
-2021-11-29 Bash Golf Part 1
+2022-01-01 Bash Golf Part 2 (You are currently reading this)
+2021-11-29 Bash Golf Part 1

Redirection



@@ -71,7 +71,7 @@ Foo Foo

-Update: A reader sent me an email and pointed out that the order of the redirections is important.
+Update: A reader sent me an email and pointed out that the order of the redirections is important.

As you can see, the following will not print out anything:

@@ -82,7 +82,7 @@ Foo
A good description (also pointed out by the reader) can be found here:

-Order of redirection
+Order of redirection

Ok, back to the original blog post. You can also use grouping here (neither of these commands will print out anything to stdout):

@@ -450,7 +450,7 @@ Hello You!
Why would you want to use "shift" after function-local variable assignments? Have a look at my personal Bash coding style guide for an explanation :-):

-./2021-05-16-personal-bash-coding-style-guide.html
+./2021-05-16-personal-bash-coding-style-guide.html

pipefail



@@ -494,14 +494,14 @@ PAUL:X:1000:1000:PAUL BUETOW:/HOME/PAUL:/BIN/BASH
Other related posts are:

-2022-01-01 Bash Golf Part 2 (You are currently reading this)
-2021-11-29 Bash Golf Part 1
-2021-06-05 Gemtexter - One Bash script to rule it all
-2021-05-16 Personal Bash coding style guide
+2022-01-01 Bash Golf Part 2 (You are currently reading this)
+2021-11-29 Bash Golf Part 1
+2021-06-05 Gemtexter - One Bash script to rule it all
+2021-05-16 Personal Bash coding style guide

E-Mail your comments to hi@paul.cyou :-)

-Back to the main site
+Back to the main site