print lines before one pattern until a new pattern is found
43159
Print lines between (and including) two patterns
36074
Grep lines between start & end pattern even end pattern in next file
46301
How to find lines matching a pattern and delete them?
126833
Is there any alternative to grep's -A -B -C switches (to print few lines before and after )?
146712
How can I print lines containing 3 words
76938
How to insert a line using sed before a pattern and after a line number?
125102
breaking of output into new lines
36663
How can I can insert the contents of a file into another file right before a specific line
8411
How can I format a list to print each element on a separate line in python?
76983
Force newlines with cat wildcard printing
53598
Print lines between (and excluding) two patterns
50943
shell test whether multiple lines string contains specified pattern in last line
14398
How to grep-inverse-match and exclude "before" and "after" lines
155976
How to join a line with a pattern with the next line with sed?
14974
Search for a pattern in a file and move it to the new files one by one
95396
Printing unique lines
46459
print specific line and then some more