View the Most Wanted LQ Wiki articles.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-14-2006, 04:14 PM   #1
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Rep: Reputation: 46
Sed and Awk

I find all the commands in 'Sed' and 'Awk' are too much to remember.

It is my understanding that all those who use commands looks at a book or some online article before writing.

Am I wrong?

Are there people who remember each and every 'Sed' and 'Awk'?

The UNIX commands are rather limited when comparing with 'Sed' and 'Awk'.
Old 04-14-2006, 04:42 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971
well awk for one can be seen as a programming language in itself. you'll tend to remember how to use the commands as much as you would remember C, java etc... you learn and commit it to memory, or look it up.

sed and awk ARE unix commands though...
Old 04-15-2006, 07:55 AM   #3
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 755

Rep: Reputation: 177Reputation: 177
In my case, since I don't use sed and awk regularly, I need to refresh myself particularly about the command line options etc.

About the second point, like sed and awk, there are a a few other commands that have many options. "find" comes readily to mind.

The beauty of Unix (and linux) however is that you can combine these "commands" to get some good and functional utilities.

Old 04-16-2006, 09:20 PM   #4
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557

Rep: Reputation: 42
I think most people memorize a smallish useful subset of sed and awk's commands; it's not really necessary to know them all. Same idea as the plethora of options to find and grep..
Old 04-17-2006, 12:19 AM   #5
Registered: Dec 2005
Location: Detroit, Michigan
Distribution: Ubuntu
Posts: 86

Rep: Reputation: 15
Some of us use sed and awk every day. There are naturally some things we need to lookup from time to time.

Old 04-18-2006, 12:54 AM   #6
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
It is my understanding that all those who use commands looks at a book or some online article before writing.
There are some books available which will cover most of the major *nix utilities, sed, awk, grep, bash, vi, emacs, etc... It's good to have a few books around.
Old 04-19-2006, 08:55 AM   #7
Senior Member
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,371

Rep: Reputation: 192Reputation: 192
google unix CD bookshelf
Old 04-19-2006, 11:32 AM   #8
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 37
Or try our own linuxquestions bookmarks:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I have a question about awk or sed sqp1982 Programming 9 03-28-2006 06:37 AM
SED, AWK or PERL HELP embsupafly Programming 6 08-20-2005 10:07 PM
awk and sed issues alaios Linux - General 11 03-24-2005 06:33 AM
awk/sed help pantera Programming 1 05-14-2004 12:59 AM
sed/awk problem player_2 Programming 9 08-26-2003 07:09 PM

All times are GMT -5. The time now is 02:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration