I have two files, file1 and file2.
The sample content of file1 is:
A B C D E F G H and the content of file2 is like:
A B few other lines E F few more other lines A B C D E F G H few more other lines G H So I want to search the whole block of file1 content in file2 only. This means the output should contain only these lines:
A B C D E F G H please note that :- only the lines which are coming together , should be the part of output.
file1and nothing else, just usecat file1.