In the last episode we looked at sed
at the simplest level. We looked at three command-line options and the 's' command. We introduced the idea of basic regular expressions.
In this episode we will cover all of these topics in more detail.
We are looking at GNU sed
in this series. This version contains many extensions to POSIX sed
. These extensions provide many more features, but sed
scripts written this way are not portable.
To read the rest of the notes for this episode follow this link: https://hackerpublicradio.org/eps/hpr1986/full_shownotes.html
Note: Since recording the audio I have added a sixth example to the full notes to cover the topic of word boundaries, which I had omitted at the time.
sed
manual:
sed
: https://en.wikipedia.org/wiki/SedUnless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.
The HPR Website Design is released to the Public Domain.