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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
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,662
Rep:
|
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'.
|
|
|
04-14-2006, 04:42 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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...
|
|
|
04-15-2006, 07:55 AM
|
#3
|
Member
Registered: Jul 2004
Location: Chennai, India
Posts: 952
|
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
|
|
|
04-16-2006, 09:20 PM
|
#4
|
Member
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557
Rep:
|
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..
|
|
|
04-17-2006, 12:19 AM
|
#5
|
Member
Registered: Dec 2005
Location: Detroit, Michigan
Distribution: Ubuntu
Posts: 86
Rep:
|
Some of us use sed and awk every day. There are naturally some things we need to lookup from time to time.
Mark
|
|
|
04-18-2006, 12:54 AM
|
#6
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
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.
|
|
|
04-19-2006, 08:55 AM
|
#7
|
Senior Member
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516
|
|
|
|
04-19-2006, 11:32 AM
|
#8
|
Member
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451
Rep:
|
Or try our own linuxquestions bookmarks:
sed+one-liners
sed
|
|
|
All times are GMT -5. The time now is 01:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|