awk command

Hi,

The awk command is one of the most powerfull commands in UNIX. Can someone please explain to me how this command works and give me an example please. I do not understand this command and also the all the -Ffs and -v and -f variables that are used in this command. I never used the awk command, but really like to know how this works.

Regards
wolf
:confused:

As neo suggested to one of your earlier posts - look at the man page to find out more about a command, it's true that you may have to read over the pages two or three times, but they are the best inital source of information.

This awk tutorial may help you:

http://vectorsite.tripod.com/tsawk0.html

Regards.

i would also advise you to spend some money on a good shell scripting book: e.g. UNIX shell programming by Lowell Jay Arthur

or alternatively at least buy yourself a good reference book (with examples) like UNIX in a nutshell from O'Reilly's.

as with most books i would personly suggest:

sed & awk from O'reilly.

Iv read it once filp thru it 100 times. excelient desk book. (as with most oreilly books)

as suggested by Optimus_P about the O'reilly book for Unix,
I found that the book is hard to find in the market...

Here is the book recommended in this thread:

<CENTER>
<A HREF="http://www.amazon.com/exec/obidos/ASIN/1565922255/silkroadcom"><IMG SRC="http://images.amazon.com/images/P/1565922255.01.MZZZZZZZ.jpg" width=107 height=140 align=center border=0></a>

</CENTER>