The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-08-2007
bucci bucci is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 81
Question [need help] output format from awk

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