From 988733cda2d58349292e20d5378926a3bc8dedf3 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 19 Dec 2021 15:33:15 +0000 Subject: more on this --- gemfeed/atom.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gemfeed/atom.xml') diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index 9591828e..215144a3 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2021-12-01T09:12:31+00:00 + 2021-12-18T12:42:24+00:00 buetow.org feed Having fun with computers! @@ -330,10 +330,10 @@ bash: 1: command not found...

For these kinds of expressions it's always better to use "let" though. And you should also use $((...expression...)) instead of the old (deprecated) way $[ ...expression... ] like this example demonstrates:

 ❯ declare j=0
-❯ let i=$((j + 1))
-❯ let i=$((j + 1))
-❯ let i=$((j + 1))
-❯ let i=$((j + 1))
+❯ let j=$((j + 1))
+❯ let j=$((j + 1))
+❯ let j=$((j + 1))
+❯ let j=$((j + 1))
 ❯ echo $j
 4
 
-- cgit v1.2.3