3 deleted 17 characters in body; edited tags
source | link

My data is like:

  • First_file.txt

    Start
    abcd
    efgh
    hijk
    lmn
    
  • Second_File.txt

    opq
    rst
    uvw
    xyz
    END
    

I want to grep all the line between patterns START & END even END pattern in next file

Output should be like:

abcd
efgh
hijk
lmn
opq
rst
uvw
xyz

My data is like:

  • First_file.txt

    Start
    abcd
    efgh
    hijk
    lmn
    
  • Second_File.txt

    opq
    rst
    uvw
    xyz
    END
    

I want to grep all the line between patterns START & END even END pattern in next file

Output should be like:

abcd
efgh
hijk
lmn
opq
rst
uvw
xyz

My data is like:

  • First_file.txt

    Start
    abcd
    efgh
    hijk
    lmn
    
  • Second_File.txt

    opq
    rst
    uvw
    xyz
    END
    

I want to grep all the line between patterns START & END even END pattern in next file

Output should be like:

abcd
efgh
hijk
lmn
opq
rst
uvw
xyz

2 improved formatting
source | link

My data is like:

First_file.txt

Start abcd efgh hijk lmn

Second_File.txt

opq rst uvw xyz END

  • First_file.txt

    Start
    abcd
    efgh
    hijk
    lmn
    
  • Second_File.txt

    opq
    rst
    uvw
    xyz
    END
    

iI want to grepgrep all the line between patterns STARTSTART & ENDEND even ENDEND pattern in next file

outputOutput should be like:

abcd efgh hijk lmn opq rst uvw

abcd
efgh
hijk
lmn
opq
rst
uvw
xyz

xyz

 

My data is like:

First_file.txt

Start abcd efgh hijk lmn

Second_File.txt

opq rst uvw xyz END


i want to grep all the line between patterns START & END even END pattern in next file

output should be like:

abcd efgh hijk lmn opq rst uvw

xyz

My data is like:

  • First_file.txt

    Start
    abcd
    efgh
    hijk
    lmn
    
  • Second_File.txt

    opq
    rst
    uvw
    xyz
    END
    

I want to grep all the line between patterns START & END even END pattern in next file

Output should be like:

abcd
efgh
hijk
lmn
opq
rst
uvw
xyz
 
1
source | link

Grep lines between start & end pattern even end pattern in next file

My data is like:

First_file.txt

Start abcd efgh hijk lmn

Second_File.txt

opq rst uvw xyz END


i want to grep all the line between patterns START & END even END pattern in next file

output should be like:

abcd efgh hijk lmn opq rst uvw

xyz