summaryrefslogtreecommitdiff
path: root/gemfeed/2023-12-10-bash-golf-part-3.gmi
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-12-10 11:46:23 +0200
committerPaul Buetow <paul@buetow.org>2023-12-10 11:46:23 +0200
commit57e04e2e75027bd83b075d7e18609412f54195c7 (patch)
tree8247c2536b11da1e90f37e2baf655daf8be74984 /gemfeed/2023-12-10-bash-golf-part-3.gmi
parent251564af28b4ac6753c9dceb8cc1013314321268 (diff)
Update content for gemtext
Diffstat (limited to 'gemfeed/2023-12-10-bash-golf-part-3.gmi')
-rw-r--r--gemfeed/2023-12-10-bash-golf-part-3.gmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gemfeed/2023-12-10-bash-golf-part-3.gmi b/gemfeed/2023-12-10-bash-golf-part-3.gmi
index d7632b5f..77f4df6a 100644
--- a/gemfeed/2023-12-10-bash-golf-part-3.gmi
+++ b/gemfeed/2023-12-10-bash-golf-part-3.gmi
@@ -253,7 +253,7 @@ baz
foo
```
-What happened? The variable `foo` (declared with `local`) is available in the function it was declared in and in all other functions down the call stack! We can even modify the value of `foo', and the change will be visible up the call stack. It's not a global variable; on the last line, `echo "$foo"` echoes the global variable content.
+What happened? The variable `foo` (declared with `local`) is available in the function it was declared in and in all other functions down the call stack! We can even modify the value of `foo`, and the change will be visible up the call stack. It's not a global variable; on the last line, `echo "$foo"` echoes the global variable content.
## `if` conditionals