<h1 id="some-further-bash-tips">Some further Bash tips</h1>
<h2 id="expansion">Expansion</h2>
<p>There are seven types of expansion applied to the command line in the following order:</p>
<ul>
<li>Brace expansion (we looked at this subject in the last episode <a href="https://hackerpublicradio.org/eps.php?id=1884" title="Some more Bash tips">1884</a>)</li>
<li>Tilde expansion</li>
<li>Parameter and variable expansion (this was covered in episode <a href="https://hackerpublicradio.org/eps.php?id=1648" title="Bash parameter manipulation">1648</a>)</li>
<li>Command substitution</li>
<li>Arithmetic expansion</li>
<li>Word splitting</li>
<li>Pathname expansion</li>
</ul>
<p>We will look at some more of these in this episode but since there is a lot to cover, we'll continue in a later episode.</p>
<p>I have written out a moderately long set of notes about this subject and these are available here <a href="https://hackerpublicradio.org/eps/hpr1903_full_shownotes.html" class="uri">https://hackerpublicradio.org/eps/hpr1903_full_shownotes.html</a>.</p>
<h2 id="links">Links</h2>
<ul>
<li>Bash Reference Manual:
<ul>
<li>Tilde Expansion: <a href="https://www.gnu.org/software/bash/manual/html_node/Tilde-Expansion.html" class="uri">https://www.gnu.org/software/bash/manual/html_node/Tilde-Expansion.html</a></li>
<li>Command Substitution: <a href="https://www.gnu.org/software/bash/manual/html_node/Command-Substitution.html" class="uri">https://www.gnu.org/software/bash/manual/html_node/Command-Substitution.html</a></li>
</ul></li>
<li>HPR episode 1648 &quot;<em>Bash parameter manipulation</em>&quot;: <a href="https://hackerpublicradio.org/eps.php?id=1648" class="uri">https://hackerpublicradio.org/eps.php?id=1648</a></li>
<li>HPR episode 1843 &quot;<em>Some Bash tips</em>&quot;: <a href="https://hackerpublicradio.org/eps.php?id=1843" class="uri">https://hackerpublicradio.org/eps.php?id=1843</a></li>
<li>HPR episode 1884 &quot;<em>Some more Bash tips</em>&quot;: <a href="https://hackerpublicradio.org/eps.php?id=1884" class="uri">https://hackerpublicradio.org/eps.php?id=1884</a></li>
</ul>
