Search Results

Search: Posts Made By: aniketdixit
2,263
Posted By aniketdixit
No sir. I am able to do that with floowing - ...
No sir. I am able to do that with floowing -
nawk '{c[$1]++;s[$1]+=$2}END{ for(i in c) printf("%s %.5f\n", i, s[i]/c[i])}'
but thing is that it calculates differnce from top to bootom for...
2,263
Posted By aniketdixit
AWK way of calculating growth
Hi All,
IS there any 'awk' way to manipulate following data?

Fruit Date Count
Apple 20/08/2011 5
Apple 27/08/2011 7
Apple 05/09/2011 11
Apple 12/09/2011 3
Apple 19/09/2011 25
.
.
.
....
7,183
Posted By aniketdixit
Thanks for your reply. But its not working in...
Thanks for your reply.
But its not working in my case as its not in proper format. However I have separate out min values and now trying to round off them to nearest multiple of 5.
So now data at...
7,183
Posted By aniketdixit
Round up time to 5min
Hi,
I have a data like

Date Time Pulse
04/02/2012 00:01:05 2
04/02/2012 00:01:48 5
04/02/2012 00:02:09 3
04/02/2012 00:03:19 4
04/02/2012 00:04:40 1
04/02/2012 00:04:45 9
04/02/2012...
1,157
Posted By aniketdixit
Thanks Jim Mcnamara !!! You are awesome !!! Its...
Thanks Jim Mcnamara !!! You are awesome !!! Its what I wanted.
1,157
Posted By aniketdixit
Print particular time upto the next occurance
Hi Guys,
I am having some issue in one aspect. I am having data like -

00:00
X-1
Y-1
Z-4
A-5
E-6
.
.
.

.
01:00
Z-9
X-1
Z-5
A-8
E-7
Showing results 1 to 6 of 6

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