Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at

hpr2011 :: Introduction to sed - part 4

How sed really works. Less frequently used sed commands

<< First, < Previous, , Latest >>

Thumbnail of Dave Morriss
Hosted by Dave Morriss on 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:

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:


Subscribe to the comments RSS feed.

Comment #1 posted on 2016-04-18 16:53:55 by b-yeezi


For a data analyst like myself, the applications of the items covered in this episode are amazing. May start to use sed to analyze and manipulate gene sequences.

Comment #2 posted on 2016-04-19 09:01:27 by Dave Morriss


Glad you found it useful.

I started using sed (and later awk), at the university I worked at in the 1980's/90's, to process student record snapshots for loading into our home-brew identity management system. They were great for data validation (e.g. "why is this guy's date of birth last week?").

Comment #3 posted on 2016-04-22 14:29:45 by Ken Fallon

Nice one

Hi Dave,

Another great episode.

I completely missed the .$$ thing before although I have seen it before.


Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
What is the HOST_ID for the host of this show?
What does HPR mean to you?