Return line above pattern in file
105605
Find each line matching a pattern but print only the line above it
51591
returning specifics from a file, python
5044
Python csv.reader: How do I return to the top of the file?
37052
Read a file line by line in reverse order
69593
Find files with matched whole lines from a file
77691
How to replace line in file with pattern with sed?
62383
AWK: Access captured group from line pattern
80516
Return previous line of all matches
80204
How can I get a specific line from a file?
73949
How can I print lines from file backwards (without using "tac")?
4941
Delete range of lines above pattern with sed (or awk)
77125
Print all lines between a searched pattern of a text file to different file
73582
how to raise superscript inside overline?
8112
How to add text to end of line when pattern is matched?
117867
\hfill between lines
155976
How to join a line with a pattern with the next line with sed?
143494
Print only the Nth line before each line that matches a pattern