![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AWK multidimensional array | sinpeak | Shell Programming and Scripting | 4 | 12-17-2008 03:58 AM |
| awk multidimensional values | forumthreads | Shell Programming and Scripting | 2 | 11-06-2008 08:18 AM |
| Awk multidimensional Array | user_prady | Shell Programming and Scripting | 1 | 09-02-2008 12:50 AM |
| multidimensional array in perl | prkfriryce | Shell Programming and Scripting | 9 | 12-01-2007 04:33 PM |
| multidimensional arrays | leslie02 | Shell Programming and Scripting | 2 | 07-13-2007 12:39 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
multidimensional arrays using awk
i'm trying to use awk to count a listing similar to the following and get a report of the listing similar to the one below it.
y,pizza n,pizza y,pizza y,pizza n,tomato n,tomato y,cheese y,cheese n,cheese report ---- pizza,3,1 tomato,0,2 cheese,2,1 I know how to do a count of the number of yes's and no's individually, but not together can anyone help me with this? i'm trying to find examples of people using multidimensional arrays with awk, but haven't found any. thanks in advance. -j |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|