Search Results

Search: Posts Made By: Scrutinizer
1,126
Posted By Scrutinizer
Hi, if the items are grouped like in your sample,...
Hi, if the items are grouped like in your sample, try something like:
awk '
function pr(i) {
printf "%s", i A[i]
print i, "TOTAL", T[i]
}
{
if(i!=$1 && NR>1) pr(i)
i=$1...
Showing results 1 to 1 of 1

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