diff options
| author | Paul Buetow <paul@buetow.org> | 2023-12-10 11:46:22 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-12-10 11:46:22 +0200 |
| commit | 20ff3b960ce6ccf92499237fd1dad9ffe45a4fb2 (patch) | |
| tree | d9e76c5903d4c0df56574484757edf287b05d14a /gemfeed/2023-12-10-bash-golf-part-3.html | |
| parent | 6db60eef3dd9d0db9ae094d3043523a8236147b1 (diff) | |
Update content for html
Diffstat (limited to 'gemfeed/2023-12-10-bash-golf-part-3.html')
| -rw-r--r-- | gemfeed/2023-12-10-bash-golf-part-3.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gemfeed/2023-12-10-bash-golf-part-3.html b/gemfeed/2023-12-10-bash-golf-part-3.html index daa426b9..3b44414f 100644 --- a/gemfeed/2023-12-10-bash-golf-part-3.html +++ b/gemfeed/2023-12-10-bash-golf-part-3.html @@ -288,7 +288,7 @@ baz foo </pre> <br /> -<span>What happened? The variable <span class='inlinecode'>foo</span> (declared with <span class='inlinecode'>local</span>) 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 <span class='inlinecode'>foo', and the change will be visible up the call stack. It's not a global variable; on the last line, </span>echo "$foo"` echoes the global variable content.</span><br /> +<span>What happened? The variable <span class='inlinecode'>foo</span> (declared with <span class='inlinecode'>local</span>) 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 <span class='inlinecode'>foo</span>, and the change will be visible up the call stack. It's not a global variable; on the last line, <span class='inlinecode'>echo "$foo"</span> echoes the global variable content.</span><br /> <br /> <br /> <h2 style='display: inline'><span class='inlinecode'>if</span> conditionals</h2><br /> |
