I've converted a specific line from a text file using sed, and converted the string output into an array of 5 numbers. There are multiple other lines I've done this with. Now I need to throw the data together into a table format.
For example:
1 2 3 4 5
5 10 15 20 25
3 6 9 12 15
into
1 5 3
2 10 6
3 15 9
4 20 12
5 25 15
I've trialled use of awk, column, piping into column with various syntax arrangements, creating a new tempFile to draw from without the extraneous data in the original but I can't seem to find the solution. There's only a handful of questions I can see here in relation, and the only solved ones are a little over my understanding.