I have a file containing the below pattern, up to 2000 lines. For every group of three lines, the pattern repeats with different numerical values, but text values at the beginning are common up to the end of the file.
Here I need to merge set of three lines
Input like below
ABC 1223334
Days 344678544324677
Base 45666
ABC 1234565
Days 234567899765443
Base 456643
Need output looks like
ABC 1223334 Days 344678544324677 Base 45666
ABC 1234565 Days 234567899765443 Base 456643
Asked by C S Pallapu
(41 rep)
Dec 12, 2022, 06:38 PM
Last activity: Oct 10, 2023, 10:43 AM
Last activity: Oct 10, 2023, 10:43 AM