make awk print the line that match a variable and the next n lines and use a variable in awk
6750
Pass shell variable as a /pattern/ to awk
63005
printing a block of text that matches a pattern
85013
New line in bash variables
90242
How to insert the lines from a file into another file after a key word?
29349
Printing with sed or awk a line following a matching pattern
107445
Printing every Nth line out of a large file into a new file
30288
How to print all lines after a match up to the end of the file?
87873
AWK: Nested Conditional Subset of Rows
74038
How do I grep for multiple patterns on multiple lines?
107175
How to print matched regex pattern using awk?
61570
Get last n lines of a file, similar to tail
148332
Longest line using awk
153221
awk extract multiple groups from each line
105605
Find each line matching a pattern but print only the line above it
121072
concatenate lines based on first char of next line
62383
AWK: Access captured group from line pattern
59603
How to print lines between two patterns, inclusive or exclusive (in sed, AWK or Perl)?