LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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, 03:14 PM   #1
Gins
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, 03:42 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
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, 06:55 AM   #3
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 637

Rep: Reputation: 140Reputation: 140
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, 08:20 PM   #4
aluser
Member
 
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-16-2006, 11:19 PM   #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-17-2006, 11:54 PM   #6
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
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, 07:55 AM   #7
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,288

Rep: Reputation: 174Reputation: 174
google unix CD bookshelf

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

Rep: Reputation: 37
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 05:37 AM
SED, AWK or PERL HELP embsupafly Programming 6 08-20-2005 09:07 PM
awk and sed issues alaios Linux - General 11 03-24-2005 05:33 AM
awk/sed help pantera Programming 1 05-13-2004 11:59 PM
sed/awk problem player_2 Programming 9 08-26-2003 06:09 PM


All times are GMT -5. The time now is 07:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration