Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Awk > Re: Key Concept...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 7 Topic 2116 of 2341
Post > Topic >>

Re: Key Concepts in AWK

by Al <palcibiades-first@[EMAIL PROTECTED] > Dec 29, 2007 at 10:10 AM

jmh wrote:

> I wondering if anyone in the group thinks there are
> a few key conepts that a beginer to AWK really needs
> to grasp to really appreciate the tool and make the
> most out of it.
> 
> jmh

As one beginner to another...I found this useful

http://www.grymoire.com/Unix/Awk.html

and also this

http://www.gentoo.org/doc/en/articles/l-awk1.xml

mainly because they have worked out examples in increasing order of
difficulty.

I found Aho Kerrigan and Weinberger can be easier reading than Robbins
when
you are starting out, but its not easy to come by.  You can find Effective
Awk Programming on the web to leaf through and see if you like it at

http://www.gnu.org/software/gawk/manual/

The Awk part of Sed and Awk might also be easier going than Effective Awk
Programming though there's a lot of overlap.

The first thing I found hard to grasp is what Ed speaks of, I had initial
trouble grasping that (a) it doesn't change files but extracts from then
(b) you don't have to tell it about reading in files, that's what it does
itself.  Sounds crazy to be puzzled about this now.  The second thing that
was hard to grasp, and I am not fully there yet, was how it does arrays,
which I suspect is also a critical element.

I think a key thing to bear in mind is that ease of use and ease of
learning
are independent dimensions.  Its hardish to learn, but when you've learned
it, its easy to use.  Unlike some, which are very easy to get started with
and then infuriating when you try to learn how to do anything
sophisticated.


Al
 




 7 Posts in Topic:
Key Concepts in AWK
jmh <jmhall@[EMAIL PRO  2007-12-27 23:36:41 
Re: Key Concepts in AWK
Janis Papanagnou <Jani  2007-12-28 00:53:49 
Re: Key Concepts in AWK
Ed Morton <morton@[EMA  2007-12-27 18:04:39 
Re: Key Concepts in AWK
Ted Davis <tdavis@[EMA  2007-12-27 19:07:56 
Re: Key Concepts in AWK
Cesar Rabak <csrabak@[  2007-12-28 00:31:46 
Re: Key Concepts in AWK
Al <palcibiades-first@  2007-12-29 10:10:41 
Re: Key Concepts in AWK
Ted Davis <tdavis@[EMA  2007-12-29 09:51:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Aug 27 17:59:27 CDT 2008.