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.
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.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.