LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


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

Rep: Reputation: 47
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
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Posts: 952

Rep: Reputation: 217Reputation: 217Reputation: 217
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.

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

Rep: Reputation: 43
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
mdhmi
Member
 
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.

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

Rep: Reputation: 47
Quote:
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
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516

Rep: Reputation: 239Reputation: 239Reputation: 239
google unix CD bookshelf

http://www.unix.org.ua/orelly/
 
Old 04-19-2006, 11:32 AM   #8
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 38
Or try our own linuxquestions bookmarks:
sed+one-liners
sed
 
  


Reply


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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:50 PM.

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