Home > OS >  The data processing
The data processing

Time:09-23

Using shell programming as follows have so a set of data, how to extract the first line and the fourth row, the second line and the fifth line, the third and sixth rows respectively into one file (more rows of data can be automatic cycle and generate files)

1 2 3 4
A B C D
A b c d
1 2 3 4
A B C D
A b c d

CodePudding user response:

Data is more, you say can post some more data, convenient to analyze rule to write the script
  • Related