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


hpr2129 :: Gnu Awk - Part 2

We examine how Awk works, records and fields, printing and program files

<< First, < Previous, , Latest >>

Thumbnail of Dave Morriss
Hosted by Dave Morriss on 2016-09-29 is flagged as Explicit and is released under a CC-BY-SA license.
Awk utility, Awk language, gawk, text manipulation. 2.
The show is available on the Internet Archive at: https://archive.org/details/hpr2129

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

Duration: 00:26:38

Learning Awk.

Episodes about using Awk, the text manipulation language. It comes in various forms called awk, nawk, mawk and gawk, but the standard version on Linux is GNU Awk (gawk). It's a programming language optimised for the manipulation of delimited text.

Gnu Awk - Part 2

This is the second episode in a series where b-yeezi and I will be looking at the AWK language (more particularly its GNU variant gawk). It is a comprehensive interpreted scripting language designed to be used for manipulating text.

I have written out a moderately long set of notes for this episode and these are available here https://hackerpublicradio.org/eps/hpr2129/full_shownotes.html.


Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2016-09-29 16:24:45 by alpha32

textbook?

mr. morriss, your series on awk, sed, etc. are brilliant. And a bit dense, i'm going to have to come back to these with a notebook and more time. Are you also publishing a manual or textbook to go along with this? Wouldn't be a terrible idea... Thanks for your excellent work.

Comment #2 posted on 2016-09-29 19:41:23 by Dave Morriss

Re: textbook?

Hi alpha32,

Thanks for the compliments. I'm sharing the awk series with b-yeezi this time since we're both keen to talk about it.

You'll have noticed that I like writing long detailed notes. I got into the habit of writing explanations of things when I started working in IT and kept a journal of stuff I'd learnt. It probably followed on from my science education where we were encouraged to keep a lab book of what we'd observed.

Soon after I started running an adult evening class in Pascal, and wrote a series of handouts for my students that grew into a textbook at the end of the course. It was intended as a resource that they could refer to and learn from outside the classes.

The workflow I use to generate show notes (producing HTML from Markdown) allows me to turn on an ePub generation stage. I tried it out for some HPR episodes but wasn't happy with the results. I could look at improving this if anyone is interested and could recreate ePub format notes for the sed series for example. It's not a textbook as such but should be a comprehensive set of notes about the episodes that could be read on a PC or tablet.

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?