<h1 id="some-other-bash-tips">Some other Bash tips</h1>
<h2 id="expansion">Expansion</h2>
<p>As we saw in the last episode <a href="https://hackerpublicradio.org/eps.php?id=1951" title="Some additional Bash tips">1951</a> (and others in this sub-series) there are eight types of expansion applied to the command line in the following order:</p>
<ul>
<li>Brace expansion (we looked at this subject in episode <a href="https://hackerpublicradio.org/eps.php?id=1884" title="Some more Bash tips">1884</a>)</li>
<li>Tilde expansion (seen in episode <a href="https://hackerpublicradio.org/eps.php?id=1903" title="Some further Bash tips">1903</a>)</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 (seen in episode <a href="https://hackerpublicradio.org/eps.php?id=1903" title="Some further Bash tips">1903</a>)</li>
<li>Arithmetic expansion (seen in episode <a href="https://hackerpublicradio.org/eps.php?id=1951" title="Some additional Bash tips">1951</a>)</li>
<li>Process substitution</li>
<li>Word splitting</li>
<li>Pathname expansion</li>
</ul>
<p>We will look at process substitution and word splitting in this episode but since there is a lot to cover in these subjects, we'll save pathname expansion for the next 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/hpr2045/full_shownotes.html" class="uri">https://hackerpublicradio.org/eps/hpr2045/full_shownotes.html</a>.</p>
<h2 id="links">Links</h2>
<ul>
<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>
<li>HPR episode 1903 &quot;<em>Some further Bash tips</em>&quot;: <a href="https://hackerpublicradio.org/eps.php?id=1903" class="uri">https://hackerpublicradio.org/eps.php?id=1903</a></li>
<li>HPR episode 1951 &quot;<em>Some additional Bash tips</em>&quot;: <a href="https://hackerpublicradio.org/eps.php?id=1951" class="uri">https://hackerpublicradio.org/eps.php?id=1951</a><br />
<br />
</li>
<li>&quot;<em>Introduction to sed</em>&quot; series on HPR:
<ul>
<li><em>Part 1</em>: <a href="https://hackerpublicradio.org/eps.php?id=1976" class="uri">https://hackerpublicradio.org/eps.php?id=1976</a></li>
<li><em>Part 2</em>: <a href="https://hackerpublicradio.org/eps.php?id=1986" class="uri">https://hackerpublicradio.org/eps.php?id=1986</a></li>
<li><em>Part 3</em>: <a href="https://hackerpublicradio.org/eps.php?id=1997" class="uri">https://hackerpublicradio.org/eps.php?id=1997</a></li>
<li><em>Part 4</em>: <a href="https://hackerpublicradio.org/eps.php?id=2011" class="uri">https://hackerpublicradio.org/eps.php?id=2011</a><br />
<br />
</li>
</ul></li>
<li>Wikipedia article on the &quot;<em>Named pipe</em>&quot;: <a href="https://en.wikipedia.org/wiki/Named_pipe" class="uri">https://en.wikipedia.org/wiki/Named_pipe</a></li>
<li>Wikipedia article on the &quot;<em>IFS</em>&quot; variable: <a href="https://en.wikipedia.org/wiki/Internal_field_separator" class="uri">https://en.wikipedia.org/wiki/Internal_field_separator</a></li>
<li><em>Advanced Bash-Scripting Guide</em>: Section 9.1 <em>Bash Internal Variables</em> (including <code>IFS</code>): <a href="https://www.tldp.org/LDP/abs/html/internalvariables.html" class="uri">https://www.tldp.org/LDP/abs/html/internalvariables.html</a></li>
</ul>