query: BSD sed: Replace only the Nth occurrence of a pattern
positive_passages.docid: 142565
positive_passages.text: How to replace only the Nth occurrence of a pattern in a file?
negative_passages.docid: 38304
negative_passages.text: How can I achieve portability with sed -i (in-place editing)?
negative_passages.docid: 12278
negative_passages.text: How to select lines between two marker patterns which may occur multiple times with awk/sed
negative_passages.docid: 77691
negative_passages.text: How to replace line in file with pattern with sed?
negative_passages.docid: 32990
negative_passages.text: How to find and replace using sed on records starting with Specific number
negative_passages.docid: 39116
negative_passages.text: sed : Ignore line starting whitespace for match
negative_passages.docid: 46916
negative_passages.text: Combining two sed commands
negative_passages.docid: 75453
negative_passages.text: How do I remove newline character from lines preceding a particular pattern?
negative_passages.docid: 24404
negative_passages.text: How to match exact string using `sed`? But not the part of it.?
negative_passages.docid: 88266
negative_passages.text: Sed remove tags from html file
negative_passages.docid: 76938
negative_passages.text: How to insert a line using sed before a pattern and after a line number?
negative_passages.docid: 11072
negative_passages.text: Can sed replace new line characters?
negative_passages.docid: 47913
negative_passages.text: How to remove trailing whitespaces with sed?
negative_passages.docid: 60726
negative_passages.text: SED: insert text after the last line?
negative_passages.docid: 110498
negative_passages.text: How can I replace a newline (\n) using sed?
negative_passages.docid: 18491
negative_passages.text: Are there zero-width assertions in sed?
negative_passages.docid: 155976
negative_passages.text: How to join a line with a pattern with the next line with sed?