decoration of data file
I have a file like:
1 17 0.866 1 18 0.866 1 19 0.866 1 21 0.866 2 17 0.866 2 18 0.866 2 20 0.866 2 22 0.866 3 17 0.866 3 19 0.866 3 23 0.866 3 26 0.866 1 10 1.000 1 11 1.000 2 11 1.000 2 12 1.000 3 15 1.000 3 16 1.000 I want to modify the above file with respect to column three, into two files. file1: 1 17 18 19 21 2 17 18 20 22 3 20 19 23 26 file2: 1 10 11 2 11 12 3 15 16 |
There is problem in FILE1 line 3, Output should be :
"3 17 19 23 26" instead of "3 20 19 23 26" Code:
#!/bin/bash |
Quote:
|
All times are GMT -5. The time now is 04:14 AM. |