GREP / SED or AWK: Print entire paragraph in a file on pattern match
125932
How to grep for text in a file and display the paragraph that has the text?
98528
How to match a single quote in sed
19261
Match two strings in one line with grep
143494
Print only the Nth line before each line that matches a pattern
43159
Print lines between (and including) two patterns
54909
Substitute pattern within a file with the content of other file
88590
Replace Tag of and xml file after pattern matching using shell
100911
How to "grep" for line length in a given range?
4497
Delete specific line number(s) from a text file using sed?
94061
How to append the first line at the end of each line of a file with Sed?
55579
sed command to replace a string from one file with entire contents of another file
158532
replace a string with sed from specific lines
92432
Matching text using grep or awk
158360
How can I "grep" patterns across multiple lines?
759
How do I match any character across multiple lines in a regular expression?
13667
Print file content without the first and last lines
136673
How to print file content only if the first line matches a certain pattern?