Linked by pkrumins on Thu 19th Feb 2009 12:17 UTC
General Development If you have ever been interested in awk and sed Unix utilities, then you probably know about the awk1line.txt and sed1line.txt files that are floating around the Internet. Each file contains around 80 idiomatic sed and awk one-liners for performing various text modification tasks.
Permalink for comment 350120
To read all comments associated with this story, please click here.
Thank you for this
by alcibiades on Sat 21st Feb 2009 17:47 UTC
alcibiades
Member since:
2005-10-12

Many thanks for this - particularly for the cheat sheet which is very convenient, but the one liners are excellent and well commented too. We can always learn.

The nice thing about awk is, its lightweight, reasonably fast, terse, intuitive once you know and are used to it. What its good for, its great for. I think of it a bit like an old pruning knife with a well sharpened slightly worn blade and a handle polished with use, an Opinel for instance. Its safe, cheap, its sharp, it just fits in the hand, and you hardly think about it any more. And would be very sorry indeed if you ever lost it.

Reply Score: 2