I have a file with 7000 lines. I need to combine the lines 100 at a time to reduce it to 70 lines i.e
line 1
line 2
line 3
...
line 7000
becomes
line 1 line 2 line 3 line 4 ... line 100
line 101 line 102 line 103 line 104 ... line 200
...
line 6901 line 6902 line 6903 line 6904 ... line 7000
I know I can do this using code. Is there a way to do this on command line?