summaryrefslogtreecommitdiff
path: root/gemfeed/2023-12-10-bash-golf-part-3.gmi
diff options
context:
space:
mode:
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