Search Results

Search: Posts Made By: larrymuli
1,653
Posted By larrymuli
The format is identical though I just realised...
The format is identical though I just realised the data is separated by commas:

1018.62, 270.53, 4.76, 75.70, 8.72, 2.122, 0, 16:07:53, 2008/12/17, 0.006
1018.87, 271.95, 4.30, 75.82, 8.72,...
1,653
Posted By larrymuli
Thanks very much Franklin52, running that script...
Thanks very much Franklin52, running that script initially yields something like this (see below) so there must be a few things I'll need to change but it's certainly pointed me in the right...
1,653
Posted By larrymuli
multiple file data to one file
Hi guys
New to scripting, I have many data files and I'm having real trouble with a script for the following:

For all files that end in *.dat
i want to get the mean of column6 ($6/NR)

and...
2,009
Posted By larrymuli
Sorry, I didn't make that very clear: The...
Sorry, I didn't make that very clear:

The files (e.g. 090108.dat) are like so:

2.34, 0.24
3.45, 0.45
4.81, 0.63
...etc

I want to do (0.24+0.45+0.63)/3 which is 0.44, then get x =...
2,009
Posted By larrymuli
Column means for multiple files
Hi all,

I have multiple dat files one for each day of the year and each with two lengthy columns. For each file, I wan't to perform a mathematical operation on the data of column 2 (red), then...
3,127
Posted By larrymuli
Cheers Padow, looks like that does the job but is...
Cheers Padow, looks like that does the job but is there a way I can add a third column indicating which file (date) that data comes from?
3,127
Posted By larrymuli
Redirecting columns from multiple files
Hi all,

I have two years worth of daily files (e.g. 090107.dat) and I'd like to write a BASH script to extract the same 2 columns from each of these files and copy them all to one separate file....
Showing results 1 to 7 of 7

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