Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting good with awk

Status
Not open for further replies.

Mag0007

MIS
Feb 15, 2005
829
US
Hey feherke:

I've noticed you put some amazin posts here. How do you do it? Is it just by practice or by a book (I would like to buy this book myself)....

same goes with pHv, fututelet, and vlad

 
How do you do it?
By practice (click on my handle to see what is my job) and by reading the man pages each time.
 
PHV:

right. I've noticed most of the awk scripts are very alike. I guess I want to know, how you guys do so well with the OFS, FS, RS, etc... in the Begin{} part of awk.

Also, how long have you been doing this? I got into awk like 1-2 months ago, but been trying to play with it on a daily basic.
 
oh wow! nevermind then. I though you were some young guy :)

But thanks for the feedback. Definatly a big fan of yours :)

 
Hi

I started to use Linux three years ago, and this enhanced my addiction to scripting. My knowledge comes in 90% from man pages, the rest from googling. I never seen AWK book, no such is available here. But probably I would not buy it anyway.

I tried other script/macro/preprocessing languages too, writing really stupid and useless pieces too, like CGI in Bc and Sed. But all that are good exercises and made me able to move easier between those simple languages restrictions.

Lenin said "Learn, learn and learn". Do not listen to him, he had no idea of scripting. Beside learning, you need practicing too.

Feherke.
 
ditto here for all the expressed "learning/practicing" tid-bits [including even the Lenin's quote - considering what he did with his acquired knowledge is a topic for a different forum].

yet another suggestion might be lurking here - it has been useful for me.

vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
My gratitude and appreciating to all of you guys


sabetik
 
Awk led me to C.
C can teach you how to use awk.
C is the beginning and the end of everything awk.
amen.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top