query: How to print 5 consecutive lines after a pattern in file using awk
positive_passages.docid: 29349
positive_passages.text: Printing with sed or awk a line following a matching pattern
negative_passages.docid: 105605
negative_passages.text: Find each line matching a pattern but print only the line above it
negative_passages.docid: 70955
negative_passages.text: Reduce number of consecutive lines with hyphenation
negative_passages.docid: 29659
negative_passages.text: How do I print all lines of a file with duplicate values in a certain column
negative_passages.docid: 142565
negative_passages.text: How to replace only the Nth occurrence of a pattern in a file?
negative_passages.docid: 138177
negative_passages.text: strip leading zeros in awk program
negative_passages.docid: 121559
negative_passages.text: How to get lines 10 to 100 from a 200 line file into a new file
negative_passages.docid: 100587
negative_passages.text: Number of lines in a file in Java
negative_passages.docid: 100897
negative_passages.text: How to use grep/awk/unix to match all lines from one file in another file, even if they are duplicates
negative_passages.docid: 61570
negative_passages.text: Get last n lines of a file, similar to tail
negative_passages.docid: 10174
negative_passages.text: How to delete duplicate lines in a file without sorting it in Unix?
negative_passages.docid: 153536
negative_passages.text: number lines in a file
negative_passages.docid: 22740
negative_passages.text: Delete the nth line from a matched string (which only occurs once in the file)
negative_passages.docid: 116258
negative_passages.text: Count number of occurrences of a pattern on same line
negative_passages.docid: 112581
negative_passages.text: Replacing pattern after nth match is found on each line?
negative_passages.docid: 39925
negative_passages.text: Insert a new line after every N lines?
negative_passages.docid: 117475
negative_passages.text: How to grep for contents after pattern?