Search Results

Search: Posts Made By: SwethaGorantla
2,541
Posted By hergp
What is the error message? It works here on...
What is the error message? It works here on CentOS 6.5:

$ cat input
john,5
marco,7
john,4
paul,3
marco,8
$ awk -F, '{ A[$1]+=$2 } END { OFS=","; for (x in A) print x,A[x]; }' input
paul,3...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 10:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy