Search Results

Search: Posts Made By: Tom46
5,968
Posted By Tom46
Solution
I could now find a solution by myself. What helped are arrays.
I could read in the data with the following text:

{max_nr = NR
for (y = 1; y <= 2; y++)
vector[NR, y]=$y
}

Afterwards...
5,968
Posted By Tom46
Rearrange columns and rows with awk
Hello, I have the following problem

I have two columns with numbers arranged as follows:

x1 y1
x2 y2
....
....
x250 y250


Now I need them arranged as follows:

"string a"
x1...
Showing results 1 to 2 of 2

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