beginner in awk programming

This is a discussion on beginner in awk programming within the awk forums in Programming Languages category; hi one and all pls let me know any documentation for awk programming...

Go Back   Application Development Forum > Programming Languages > awk

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-07-2008, 05:27 AM
srinivas hn
Guest
 
Default beginner in awk programming

hi one and all pls let me know any documentation for awk programming
Reply With Quote
  #2  
Old 07-07-2008, 05:42 AM
Dave B
Guest
 
Default Re: beginner in awk programming

srinivas hn wrote:

> hi one and all pls let me know any documentation for awk programming


Google for "awk tutorial" to find some introductory documentation. Then:

- GNU awk manual:
http://www.gnu.org/software/gawk/manual/gawk.html

and/or

- effective awk programming, 3rd edition:
http://oreilly.com/catalog/9780596000707/


--
awk 'BEGIN{O="~"~"~";o="=="=="==";o+=+o;x=o""o;while(X ++<x-o-O)c=c"%c";
X=O""O;printf c,O+x*o*o+X,(X+x)*(O+o)-o,+X*X-o-O,o+x*o*o+X,x*o*o+X-o-o,
x*(o+o)+X-O,+X*X-X+o+o,x+x+x-o,o+X+O+o+x*o*o,x+O+x*o*o,x*o*o+x+O+o+o+O,
x+o+x*o*o,x+x*o*o+O,o+x+x*o*o,o+X*o*o,X+x*o*o,x*o* o+O+x,x+x*o*o-O,X-O}'
Reply With Quote
  #3  
Old 07-11-2008, 11:54 AM
Martin Neitzel
Guest
 
Default Re: beginner in awk programming

> hi one and all pls let me know any documentation for awk programming

Get the (n)awk book written by -surprise- Aho, Kernighan, and Weiberger.
It's not as fat as many as the other books but that's just because AKW
know how to write extremely well.

http://plan9.bell-labs.com/cm/cs/awkbook/

Martin
Reply With Quote
  #4  
Old 07-11-2008, 12:46 PM
Ed Morton
Guest
 
Default Re: beginner in awk programming

On 7/11/2008 10:54 AM, Martin Neitzel wrote:
>>hi one and all pls let me know any documentation for awk programming

>
>
> Get the (n)awk book written by -surprise- Aho, Kernighan, and Weiberger.
> It's not as fat as many as the other books but that's just because AKW
> know how to write extremely well.
>
> http://plan9.bell-labs.com/cm/cs/awkbook/
>
> Martin


Personally I never got anything out of that book but that may just have been me
and what I was working on at the time so YMMV.

When I got Effective Awk Programming (http://www.oreilly.com/catalog/awkprog3/)
is when things started making sense and I began to actually be able to use awk
so that's the one I'd have to recommend.

There's also the gawk Quick Reference Card, "awkcard.ps", in
http://ftp.gnu.org/gnu/gawk/gawk-3.1.6-ps.tar.gz.

Ed.

Reply With Quote
  #5  
Old 07-11-2008, 02:27 PM
Cesar Rabak
Guest
 
Default Re: beginner in awk programming

Ed Morton escreveu:
> On 7/11/2008 10:54 AM, Martin Neitzel wrote:
>>> hi one and all pls let me know any documentation for awk programming

>>
>> Get the (n)awk book written by -surprise- Aho, Kernighan, and Weiberger.
>> It's not as fat as many as the other books but that's just because AKW
>> know how to write extremely well.
>>
>> http://plan9.bell-labs.com/cm/cs/awkbook/
>>
>> Martin

>
> Personally I never got anything out of that book but that may just have been me
> and what I was working on at the time so YMMV.
>
> When I got Effective Awk Programming (http://www.oreilly.com/catalog/awkprog3/)
> is when things started making sense and I began to actually be able to use awk
> so that's the one I'd have to recommend.
>
> There's also the gawk Quick Reference Card, "awkcard.ps", in
> http://ftp.gnu.org/gnu/gawk/gawk-3.1.6-ps.tar.gz.
>

Hi!

Just a reminder: for systems that have gawk already installed in, the
refcard (Postscript file) may be already in some place of documentation
tree on the machine.

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 09:21 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.