<h2 id="tidying-loose-ends-some-collateral-bash-tips">Tidying loose ends <small><small>(Some collateral Bash tips)</small></small></h2>
<h3 id="deleting-arrays">Deleting arrays</h3>
<p>I forgot to cover one thing on my list when doing the last show: I forgot to explain how to delete arrays and array elements. I’ll cover that topic in this episode.</p>
<h3 id="positional-and-special-parameters">Positional and Special parameters</h3>
<p>I have also avoided talking much about the positional and special parameters in Bash: <code>'$1'</code>, <code>'$2'</code>, <code>'$#'</code> and the rest. I will cover (some of) these in this episode.</p>
<h3 id="silly-titles">Silly titles</h3>
<p>I stopped doing the weird episode titles by episode 14 because I thought the joke was getting tired. However, I think a few people missed them (and a certain HPR colleague was found <em>vandalising my new titles as they were being posted</em> ;-), so I have added them inside the notes on the older shows and am adding one here – as a homage to silliness.</p>
<h2 id="long-notes">Long notes</h2>
<p>I have provided detailed notes as usual for this episode, and these can be <a href="https://hackerpublicradio.org/eps/hpr2756/full_shownotes.html">viewed here</a>.</p>
<h2 id="links">Links</h2>
<ul>
<li><a href="https://www.gnu.org/software/bash/manual/bash.html">“<em>GNU BASH Reference Manual</em>”</a>
<ul>
<li>Section <a href="https://www.gnu.org/software/bash/manual/bash.html#Shell-Parameter-Expansion">“3.4 Shell Parameters”</a></li>
<li>Section <a href="https://www.gnu.org/software/bash/manual/bash.html#Shell-Builtin-Commands">“4 Shell Builtin Commands”</a>
<ul>
<li>Section <a href="https://www.gnu.org/software/bash/manual/bash.html#Bourne-Shell-Builtins">“4.1 Bourne Shell Builtins”</a></li>
<li>Section <a href="https://www.gnu.org/software/bash/manual/bash.html#Bash-Builtins">“4.2 Bash Builtin Commands”</a></li>
</ul></li>
<li>Section <a href="https://www.gnu.org/software/bash/manual/bash.html#The-Set-Builtin">“4.3.1 The Set Builtin”</a></li>
</ul></li>
</ul>
<ul>
<li><p>POSIX Shell Command Language: <a href="https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#unset"><em>unset</em></a></p></li>
<li><p><a href="https://hackerpublicradio.org/series/0042.html">HPR series: <em>Bash Scripting</em></a></p></li>
<li>Previous episodes under the heading <em>Bash Tips</em>:
<ol>
<li><a href="https://hackerpublicradio.org/eps.php?id=1648">HPR episode 1648 “<em>Bash parameter manipulation</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=1843">HPR episode 1843 “<em>Some Bash tips</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=1884">HPR episode 1884 “<em>Some more Bash tips</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=1903">HPR episode 1903 “<em>Some further Bash tips</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=1951">HPR episode 1951 “<em>Some additional Bash tips</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=2045">HPR episode 2045 “<em>Some other Bash tips</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=2278">HPR episode 2278 “<em>Some supplementary Bash tips</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=2293">HPR episode 2293 “<em>More supplementary Bash tips</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=2639">HPR episode 2639 “<em>Some ancillary Bash tips - 9</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=2649">HPR episode 2649 “<em>More ancillary Bash tips - 10</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=2659">HPR episode 2659 “<em>Further ancillary Bash tips - 11</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=2669">HPR episode 2669 “<em>Additional ancillary Bash tips - 12</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=2679">HPR episode 2679 “<em>Extra ancillary Bash tips - 13</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=2689">HPR episode 2689 “<em>Bash Tips - 14 (Some auxiliary Bash tips)</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=2699">HPR episode 2699 “<em>Bash Tips - 15 (More auxiliary Bash tips)</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=2709">HPR episode 2709 “<em>Bash Tips - 16 (Further auxiliary Bash tips)</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=2719">HPR episode 2719 “<em>Bash Tips - 17 (Additional auxiliary Bash tips)</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=2729">HPR episode 2729 “<em>Bash Tips - 18 (Extra auxiliary Bash tips)</em>”</a></li>
<li><a href="https://hackerpublicradio.org/eps.php?id=2739">HPR episode 2739 “<em>Bash Tips - 19 (Supplemental auxiliary Bash tips)</em>”</a></li>
</ol></li>
</ul>
<ul>
<li>Resources:
<ul>
<li>Examples: <a href="https://hackerpublicradio.org/eps/hpr2756/bash20_ex1.sh">bash20_ex1.sh</a>, <a href="https://hackerpublicradio.org/eps/hpr2756/bash20_ex2.sh">bash20_ex2.sh</a></li>
</ul></li>
</ul>
