Awk and Sed One-Liners Explained

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.

Making my way through them was not easy and I decided to write two articles explaining every one-liner in these files. It took me several months to finish them, but now I am proud that I did it.

Here is the Awk One-Liners Explained article: Part One, Part Two, Part Three, Part Four (bonus).

And here is the Sed One-Liners Explained article: Part One, Part Two, Part Three.

My future plans are to publish a free ebook with all the one-liners. If you are interested, please visit my site after a few months. I’ll publish it there.

32 Comments

  1. 2009-02-19 12:42 pm
    • 2009-02-19 1:06 pm
      • 2009-02-19 2:18 pm
        • 2009-02-19 11:11 pm
    • 2009-02-19 2:18 pm
      • 2009-02-19 7:06 pm
        • 2009-02-20 6:50 pm
          • 2009-02-20 11:26 pm
          • 2009-02-21 8:52 am
    • 2009-02-19 2:58 pm
      • 2009-02-19 3:08 pm
      • 2009-02-20 12:25 am
    • 2009-02-19 5:02 pm
      • 2009-02-19 6:17 pm
      • 2009-02-20 12:14 am
        • 2009-02-20 2:48 am
        • 2009-02-20 5:56 pm
        • 2009-02-22 9:21 pm
    • 2009-02-19 5:49 pm
    • 2009-02-19 8:55 pm
  2. 2009-02-19 1:19 pm
    • 2009-02-19 1:25 pm
    • 2009-02-21 6:35 pm
  3. 2009-02-19 2:28 pm
  4. 2009-02-19 4:54 pm
  5. 2009-02-19 5:02 pm
  6. 2009-02-19 6:08 pm
    • 2009-02-19 8:23 pm
  7. 2009-02-19 6:14 pm
  8. 2009-02-20 2:25 am
  9. 2009-02-21 5:47 pm