![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Format output using awk in script. | bperl | Shell Programming and Scripting | 8 | 01-14-2008 01:09 AM |
| Output in a particular format using AWK | Raynon | Shell Programming and Scripting | 4 | 01-24-2007 04:07 AM |
| format output | Tornado | Shell Programming and Scripting | 7 | 11-19-2006 06:17 AM |
| ls output format | tonyt | UNIX for Dummies Questions & Answers | 6 | 11-23-2001 11:31 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
hi all,
i have a problem with my nawk command output below is the description : nawk $12 == "00008001" { cnt++;cs_cd[$11] } END {for(cd in cs_cd) print cd, cs_cd[cd] } 2007020814.TDR output : 133 123 desire output: 133,123,.... please advices thank you so much Regards, bucci |
|
||||
|
Quote:
the input file is: 20070208 163020.951 20070208 163021.163 000.212 6211111111111 00000803 005 02 002 123 00008001 511000000000000 --- 20070208 164008.211 20070208 164008.433 000.222 6211111111111 00000804 004 02 002 123 00008001 511000000000000 --- 20070208 164508.096 20070208 164508.305 000.209 6211111111111 00000805 006 02 002 133 00008001 511000000000000 --- 20070208 165802.461 20070208 165802.653 000.192 6211111111111 00000806 005 02 002 133 00008001 511000000000000 --- any idea? thank you |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|