query: Delete lines x after a match
positive_passages.docid: 22740
positive_passages.text: Delete the nth line from a matched string (which only occurs once in the file)
negative_passages.docid: 10174
negative_passages.text: How to delete duplicate lines in a file without sorting it in Unix?
negative_passages.docid: 81023
negative_passages.text: Delete Everything(the rest of the text) after a specific string
negative_passages.docid: 68318
negative_passages.text: How can I remove the first line of a text file using bash/sed script?
negative_passages.docid: 81900
negative_passages.text: remove lines where a field's value is less than or equal to 3 - sed or awk?
negative_passages.docid: 65598
negative_passages.text: Removing indentation *after* certain objects have been used
negative_passages.docid: 106221
negative_passages.text: Remove extra header lines from file, except for the first line
negative_passages.docid: 57165
negative_passages.text: How do I grep lines ending on a specific expression
negative_passages.docid: 1768
negative_passages.text: Replace a word after a significant line and white spaces (inline) using sed?
negative_passages.docid: 124920
negative_passages.text: sed one-liner to delete everything between a pair of brackets?
negative_passages.docid: 1451
negative_passages.text: How do I remove lines of a file which contain a specific string?
negative_passages.docid: 100478
negative_passages.text: How can I exclude the lines which matche the range patterns in sed?
negative_passages.docid: 121859
negative_passages.text: Removing certain lines from a table
negative_passages.docid: 10652
negative_passages.text: Removal of lines with no more or fewer than 'N' fields?
negative_passages.docid: 124497
negative_passages.text: remove lines that contain a specific text in a file
negative_passages.docid: 101216
negative_passages.text: search multiple pattern in file and delete line if pattern matches
negative_passages.docid: 65032
negative_passages.text: How can I "cat" a file and remove commented lines?