hpr2011 :: Introduction to sed - part 4
How sed really works. Less frequently used sed commands
Hosted by Dave Morriss on Monday, 2016-04-18 is flagged as Explicit and is released under a CC-BY-SA license.
sed, stream editor, pattern space, hold space.
3.
The show is available on the Internet Archive at: https://archive.org/details/hpr2011
Listen in ogg,
spx,
or mp3 format. Play now:
Duration: 00:47:38
Learning sed.
Episodes about using sed, the Stream Editor. It's a non-interactive editor which you can use to make simple changes to data, which is how many people use it. However, sed also has a lot of hidden power, especially in the GNU version.
Introduction to sed - part 4
In the last episode we looked at some of the more frequently used sed
commands, having spent previous episodes looking at the s command, and we also covered the concept of line addressing.
In this episode we will look at how sed
really works in all the gory details, examine some of the remaining sed
commands and begin to build useful sed
programs.
To read the rest of the notes for this episode follow this link.
Links
- Introduction to sed - part 1: hpr1976
- Introduction to sed - part 2: hpr1986
- Introduction to sed - part 3: hpr1997
- Some further Bash tips: hpr1903
- GNU
sed
manual: https://www.gnu.org/software/sed/manual/sed.html - Wikipedia entry for
sed
: https://en.wikipedia.org/wiki/Sed - "Sed - An Introduction and Tutorial" by Bruce Barnett: https://www.grymoire.com/Unix/Sed.html
- Wikibooks sed wiki: https://en.wikibooks.org/wiki/Sed
- Example files:
- Wikipedia entry for "Pig Latin": https://en.wikipedia.org/wiki/Pig_Latin