<h1 id="bash-tips---14">Bash Tips - 14 <small><small>(Some auxiliary Bash tips)</small></small></h1>
<h2 id="more-about-loops">More about loops</h2>
<p>This is the fourteenth episode covering useful tips about using Bash. Episodes 9-13 covered <em>Making Decisions in Bash</em> and in these episodes we looked at <code>while</code> and <code>until</code> loops, but not <code>for</code> loops. This episode is making good this deficiency, and is also looking at <code>break</code> and <code>continue</code> which are very useful when using loops.</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="hpr2689_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><a href="https://www.gnu.org/software/bash/manual/bash.html#Looping-Constructs">"Bash Looping Constructs"</a></li>
<li><a href="https://www.gnu.org/software/bash/manual/bash.html#Shell-Arithmetic">"Bash Shell Arithmetic"</a></li>
<li><a href="https://www.gnu.org/software/bash/manual/bash.html#Bourne-Shell-Builtins">"Bourne Shell Builtins"</a></li>
<li><a href="https://www.gnu.org/software/bash/manual/bash.html#Brace-Expansion">"Bash Brace Expansion"</a></li>
</ul></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="http://hackerpublicradio.org/eps/hpr1648">HPR episode 1648 "<em>Bash parameter manipulation</em>"</a></li>
<li><a href="http://hackerpublicradio.org/eps/hpr1843">HPR episode 1843 "<em>Some Bash tips</em>"</a></li>
<li><a href="http://hackerpublicradio.org/eps/hpr1884">HPR episode 1884 "<em>Some more Bash tips</em>"</a></li>
<li><a href="http://hackerpublicradio.org/eps/hpr1903">HPR episode 1903 "<em>Some further Bash tips</em>"</a></li>
<li><a href="http://hackerpublicradio.org/eps/hpr1951">HPR episode 1951 "<em>Some additional Bash tips</em>"</a></li>
<li><a href="http://hackerpublicradio.org/eps/hpr2045">HPR episode 2045 "<em>Some other Bash tips</em>"</a></li>
<li><a href="http://hackerpublicradio.org/eps/hpr2278">HPR episode 2278 "<em>Some supplementary Bash tips</em>"</a></li>
<li><a href="http://hackerpublicradio.org/eps/hpr2293">HPR episode 2293 "<em>More supplementary Bash tips</em>"</a></li>
<li><a href="http://hackerpublicradio.org/eps/hpr2639">HPR episode 2639 "<em>Some ancillary Bash tips - 9</em>"</a></li>
<li><a href="http://hackerpublicradio.org/eps/hpr2649">HPR episode 2649 "<em>More ancillary Bash tips - 10</em>"</a></li>
<li><a href="http://hackerpublicradio.org/eps/hpr2659">HPR episode 2659 "<em>Further ancillary Bash tips - 11</em>"</a></li>
<li><a href="http://hackerpublicradio.org/eps/hpr2669">HPR episode 2669 "<em>Additional ancillary Bash tips - 12</em>"</a></li>
<li><a href="http://hackerpublicradio.org/eps/hpr2679">HPR episode 2679 "<em>Extra ancillary Bash tips - 13</em>"</a></li>
</ol></li>
</ul>
<ul>
<li>Resources:
<ul>
<li>Examples: <a href="hpr2689_bash14_ex1.sh">bash14_ex1.sh</a>, <a href="hpr2689_bash14_ex2.sh">bash14_ex2.sh</a>, <a href="hpr2689_bash14_ex3.sh">bash14_ex3.sh</a>, <a href="hpr2689_bash14_ex4.sh">bash14_ex4.sh</a>, <a href="hpr2689_bash14_ex5.sh">bash14_ex5.sh</a></li>
</ul></li>
</ul>
