<h1 id="introduction-to-sed---part-1">Introduction to sed - part 1</h1>
<p><strong><code>sed</code></strong> is an editor which expects to read a stream of text, apply some action to the text and send it to another stream. It filters and transforms the text along the way according to instructions provided to it. These instructions are referred to as a <code>sed</code> script.</p>
<p>The name "<em>sed</em>" comes from <em><strong>S</strong>tream <strong>Ed</strong>itor</em>, and <code>sed</code> was developed from 1973 to 1974 as a Unix utility by Lee E. McMahon of Bell Labs. GNU <code>sed</code> added several new features including better documentation, though most of it is only available on the command line through the <code>info</code> command. The <a href="https://www.gnu.org/software/sed/manual/sed.html" title="GNU sed manual">full manual</a> is of course available on the web.</p>
<p><a href="hpr1976_full_shownotes.html" class="uri">To read the rest of the notes for this episode follow this link.</a></p>
<h2 id="links">Links</h2>
<ul>
<li>GNU <code>sed</code> manual: <a href="https://www.gnu.org/software/sed/manual/sed.html" class="uri">https://www.gnu.org/software/sed/manual/sed.html</a></li>
<li>"<em>Sed - An Introduction and Tutorial</em>" by Bruce Barnett: <a href="https://www.grymoire.com/Unix/Sed.html" class="uri">https://www.grymoire.com/Unix/Sed.html</a></li>
<li>Example file for processing: <a href="hpr1976_sed_demo1.txt" class="uri">sed_demo1.txt</a> (extracted from <a href="https://hackerpublicradio.org/about.php" class="uri">the 'about' page from the HPR site in 2016</a>)</li>
</ul>
