Skip to main content
deleted 100 characters in body
Source Link
Ed Morton
  • 35.9k
  • 6
  • 25
  • 60

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, like Need output looks

Input like.. below

ABC 1223334   Days 344678544324677   Base 45666 ABC 1234565   Days 234567899765443   Base 456643 .  . . 

Please guide me in this regard. InputNeed output looks like below.

ABC 1223334   Days 344678544324677   Base 45666 ABC 1234565   Days 234567899765443   Base 456643 . . . .  

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, like Need output looks like..

ABC 1223334 Days 344678544324677 Base 45666 ABC 1234565 Days 234567899765443 Base 456643 .  . . 

Please guide me in this regard. Input like below.

ABC 1223334  Days 344678544324677  Base 45666 ABC 1234565  Days 234567899765443  Base 456643 . . . .  

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 
markup
Source Link
Kusalananda
  • 356.1k
  • 42
  • 737
  • 1.1k

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, like Need output looks like..

ABC 1223334 Days 344678544324677 Base 45666 ABC 1234565 Days 234567899765443 Base 456643 . . . 

ABC 1234565 Days 234567899765443 Base 456643 . . .

Please guide me in this regard. Input like below.

ABC 1223334 Days 344678544324677 Base 45666 ABC 1234565 Days 234567899765443 Base 456643 . . . . 

. . . .

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, like Need output looks like..

ABC 1223334 Days 344678544324677 Base 45666 

ABC 1234565 Days 234567899765443 Base 456643 . . .

Please guide me in this regard. Input like below.

ABC 1223334 Days 344678544324677 Base 45666 ABC 1234565 Days 234567899765443 Base 456643 

. . . .

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, like Need output looks like..

ABC 1223334 Days 344678544324677 Base 45666 ABC 1234565 Days 234567899765443 Base 456643 . . . 

Please guide me in this regard. Input like below.

ABC 1223334 Days 344678544324677 Base 45666 ABC 1234565 Days 234567899765443 Base 456643 . . . . 
added 42 characters in body
Source Link

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, like Need output looks like..

ABC 1223334 Days 344678544324677 Base 45666 

ABC 1234565 Days 234567899765443 Base 456643 . . .

Please guide me in this regard. Input like below.

ABC 1223334 Days 344678544324677 Base 45666 ABC 1234565 Days 234567899765443 Base 456643 

. . . .

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, like Need output looks like..

ABC 1223334 Days 344678544324677 Base 45666 

ABC 1234565 Days 234567899765443

Please guide me in this regard. Input like below.

ABC 1223334 Days 344678544324677 Base 45666 ABC 1234565 Days 234567899765443 Base 456643 

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, like Need output looks like..

ABC 1223334 Days 344678544324677 Base 45666 

ABC 1234565 Days 234567899765443 Base 456643 . . .

Please guide me in this regard. Input like below.

ABC 1223334 Days 344678544324677 Base 45666 ABC 1234565 Days 234567899765443 Base 456643 

. . . .

added 34 characters in body
Source Link
Loading
added 43 characters in body
Source Link
Loading
Grammar, different wording
Source Link
Kusalananda
  • 356.1k
  • 42
  • 737
  • 1.1k
Loading
deleted 3 characters in body
Source Link
Gilles Quénot
  • 36.8k
  • 7
  • 76
  • 97
Loading
added 10 characters in body
Source Link
Loading
Source Link
Loading