Sed and AWK – A quick reference

Sed (Stream Editor) and AWK (First letters of the surnames of its authors) are very powerful *nix tools for manipulating strings and text files. They combine the power of regular expressions with the power of a programming language for this aim.
Here are two quick references for doing many operations with a one-line code of sed and AWK. (Both are by the same author – Eric Perment):

sed 1-line
awk 1-line

I use these very frequently, as they cover almost anything I would want to do with text files. I loved the simple format the author has chosen to use (plain text).

Another great document (also by Eric Perment) is a comparison between sed and awk commands:
AWK vs. sed

Visit Eric’s homepage to find more sources and information about sed, AWK, perl and other stuff.

Enjoy

If you enjoyed this post, make sure you subscribe to my RSS feed!

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit Post to StumbleUpon

No related posts.

Tags: , , ,

Saturday, May 9th, 2009 Bash

Leave a Reply

my email
my photo
Hi,
My name is Amir Watad. I have a BSc. in biomedical engineering from The Biomedical Engineering school , Technion , Israel, and a BSc. in electrical engineering from The Electrical Engineering school , Technion , Israel.
I'm a Verification Engineer in Mellanox Technologies Ltd.
I love Linux, the Command Line and the OpenSource Community.
I used to write Poems (Arabic) when I was able to find time for this.
May 2009
S M T W T F S
« Mar   Jun »
 12
3456789
10111213141516
17181920212223
24252627282930
31  
SEO Powered by Platinum SEO from Techblissonline

Twitter links powered by Tweet This v1.7.4, a WordPress plugin for Twitter.