diff options
| author | Paul Buetow <paul@buetow.org> | 2023-12-10 11:46:23 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-12-10 11:46:23 +0200 |
| commit | 57e04e2e75027bd83b075d7e18609412f54195c7 (patch) | |
| tree | 8247c2536b11da1e90f37e2baf655daf8be74984 /gemfeed | |
| parent | 251564af28b4ac6753c9dceb8cc1013314321268 (diff) | |
Update content for gemtext
Diffstat (limited to 'gemfeed')
| -rw-r--r-- | gemfeed/2023-12-10-bash-golf-part-3.gmi | 2 | ||||
| -rw-r--r-- | gemfeed/2023-12-10-bash-golf-part-3.gmi.tpl | 2 | ||||
| -rw-r--r-- | gemfeed/atom.xml | 4 |
3 files changed, 4 insertions, 4 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 diff --git a/gemfeed/2023-12-10-bash-golf-part-3.gmi.tpl b/gemfeed/2023-12-10-bash-golf-part-3.gmi.tpl index e4aff5d3..e281c427 100644 --- a/gemfeed/2023-12-10-bash-golf-part-3.gmi.tpl +++ b/gemfeed/2023-12-10-bash-golf-part-3.gmi.tpl @@ -251,7 +251,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 diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index 8867d1d7..2c16b8bb 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> - <updated>2023-12-10T11:37:46+02:00</updated> + <updated>2023-12-10T11:46:05+02:00</updated> <title>foo.zone feed</title> <subtitle>To be in the .zone!</subtitle> <link href="gemini://foo.zone/gemfeed/atom.xml" rel="self" /> @@ -298,7 +298,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 /> |
