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


hpr1997 :: Introduction to sed - part 3

Looking at some more sed commands than just s

<< First, < Previous, , Latest >>

Thumbnail of Dave Morriss
Hosted by Dave Morriss on 2016-03-29 is flagged as Explicit and is released under a CC-BY-SA license.
sed, stream editor, line address, regular expression, edit command. 2.
The show is available on the Internet Archive at: https://archive.org/details/hpr1997

Listen in ogg, spx, or mp3 format. Play now:

Duration: 01:03:48

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 3

In the last episode we looked at sed at a more advanced level. We looked at all of the command-line options which we will cover in this series and examined the s command in much more detail. We covered many more details of regular expressions.

In this episode we will look at more sed commands and how to use them.

To read the rest of the notes for this episode follow this link: https://hackerpublicradio.org/eps/hpr1997/full_shownotes.html


Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2016-03-29 01:35:39 by Mike Ray

Knockout Episode

Well done Dave. This is a knockout episode. Contains a lot of the more obscure stuff in sed that is really useful and hard to find examples of online.

I personally like you reading out the command-line examples as I can make a mental note of what strings to search for in your show notes to refer back later.

I've used sed for years but it is an inexhaustible subject.

Looking forward to the awk series, never having really got my head round awk :-p

Comment #2 posted on 2016-03-29 13:20:02 by Dave Morriss

Careful what you wish for!

Thanks Mike, you're very kind.

I too have used sed for many years, but I always ignored much of the weird and wonderful stuff it's capable of and made do with the 's' command and a few others like 'd' and 'q', as well as line addressing. In doing this series, I'm at last learning how to do some more sophisticated things with sed, so it's fun to do.

Episode 4 is finished and waiting to be posted, and episode 5 (the really deeply weird stuff) is in production. I'm trying to explain some of the examples in the GNU sed manual in 5, but I'll have to understand them myself first!

Yes, I'd quite like to do a series on awk, and will if I can.

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:
Title:
Comment:
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?