Search Results

Search: Posts Made By: Max Well
32,366
Posted By Max Well
Thanks! Now I want still to reverse the line...
Thanks!

Now I want still to reverse the line order in the third and the fourth column but also I want to regenerate lines of the first column (which includes time values of time).

From the...
3,531
Posted By Max Well
How to manipulate first column and reverse the line order in third and fourth column?
How to manipulate first column and reverse the line order in third and fourth column as follws?

For example i have a original file like this:

file1

0.00000000E+000 -1.17555359E-001 ...
32,366
Posted By Max Well
I'm not sure that is them necessary but the...
I'm not sure that is them necessary but the orginal data file (laser pulse) includes them.

A real datafile seem like this:

0.00000000E+000 -6.16519665E-002 0.00000000E+000
...
32,366
Posted By Max Well
I'm not understand this code: awk...
I'm not understand this code:
awk 'NR==FNR{a[++i]=$2 FS $3;next}{print $1,a[i--]}' file file
How I add empty columns to the above code?
32,366
Posted By Max Well
Thanks! What if there are empty columns ahead of...
Thanks! What if there are empty columns ahead of table?

For example:


a 1 11
b 2 12
c 3 13
d 4 14
e 5 15
instead of

a 1 11
b 2...
32,366
Posted By Max Well
Thank you very much for the ready answer!
Thank you very much for the ready answer!
32,366
Posted By Max Well
How can I reverse lines of the second and the...
How can I reverse lines of the second and the third comlumns?

For example, from file

a 1 11
b 2 12
c 3 13
d 4 14
e 5 15

to like this:
a 5 15
b 4 14
c 3 13
d 2 12
e 1 11

(Sorry my...
Showing results 1 to 7 of 7

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