in reply to Re: desift
in thread desift
good question. I never knew much about awk so I googled for a tutorial introduction and found these features as different:
- awk can take different actions on each line by use of a series of
rules. C<desift> does not do different things on different lines based on the input textpattern { action } pattern { action } - awk is a complete language offering flow of control, functions and more. An entire webserver has been written in awk. Here is a simple program which takes small text delimited database and tabulates the amount of each type of computer:
{ computers[$1]++ } END { for ( name in computers ) print "The number of ",name,"computers is",compu +ters[name] }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: desift
by BUU (Prior) on Nov 29, 2003 at 22:51 UTC | |
by princepawn (Parson) on Nov 30, 2003 at 12:01 UTC |
In Section
Module Reviews