Search Results

Search: Posts Made By: SwethaGorantla
12,136
Posted By SwethaGorantla
I could resolve my issue using awk
IFS=","
while read f1 f2
do
awk -F, '{ A[$1]+=$2 } END { OFS=","; for (x in A) print x,A[x]; }' > /home/ec2-user/slotslatest.csv
done < Storewiseslots.csv
12,136
Posted By SwethaGorantla
Pivot table for data in CSV file using shell script
IFS=","
while read f1 f2
do
awk -F, '{ A[$1]+=$2 } END { OFS=","; for (x in A) print x,A[x]; }'
12,136
Posted By SwethaGorantla
Manipulate data in CSV file using Shell script
HI,
Can you guys please help me in creating Pivot table for below data using shell script?

Location_id| Effective_date| Picking_limit
------- | ---------------- | ----------:
2000|...
Showing results 1 to 3 of 3

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