Site Map - skip to main content - dyslexic font - mobile - text - print

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr2011 :: Introduction to sed - part 4

How sed really works. Less frequently used sed commands

<< First, < Previous, Latest >>

Host Image
Hosted by Dave Morriss on 2016-04-18 is flagged as Explicit and is released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. | Comments (3)

Part of the series: 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: http://hackerpublicradio.org/eps/hpr2011/full_shownotes.html


Comments

Subscribe to the comments RSS feed.

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

Wow

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-19T09:01:27Z by Dave Morriss

Thanks

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-22T14:29:45Z by Ken Fallon

Nice one

Hi Dave,

Another great episode.

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

Ken.

Leave Comment

Powered by Comment Script