want to read selected lines in a file, then output in one row.
For example:
read the 1st, 3rd ... lines, then output them in the 1st row;
read the 2nd, 4th ... lines, output in the 2nd row;
...
I used several loops. None of them worked.
Thanks.
For example:
read the 1st, 3rd ... lines, then output them in the 1st row;
read the 2nd, 4th ... lines, output in the 2nd row;
...
I used several loops. None of them worked.
Thanks.
Comment