Quote:
I should take column (141 rows) after column (6 of them) from the input file, put the next one under the previous one. That would be the 2nd column of the output. In the 1st column of the output should the line numbers go (141 of them for each column -> 6 times like that => 846 rows in total in the output file and 2 columns). Dots are data not reprezented in my post...there is a lot of data, so I truncated the input file, without loosing the main features. thnx for the effort! Igor |
Still quite confused.
Also, do you still want some multiplication to happen? |
Ok.. it's clear now. I will suggest my previous awk code (see post #23) with a little modification to specify the format of the numeric results. I'm sure grail and MTK358 will refine their suggestions, as well.
Code:
BEGIN { OFMT = "%.6f"; factor = 219474.6306726 } Last but not least, two advices for good awk readings: 1. the official GNU awk manual: http://www.gnu.org/software/gawk/manual/ 2. the grymoire's awk tutorial: http://www.grymoire.com/Unix/Awk.html Hope this helps! :) |
Code:
#!/usr/bin/env perl |
Well mine and colucix's are just variations on a theme, but just so you have other stuff to look at :)
Code:
#!/usr/bin/awk -f |
All times are GMT -5. The time now is 07:20 AM. |