query: Sed - replace with variable first occurrence only
positive_passages.docid: 4710
positive_passages.text: How to use sed to replace only the first occurrence in a file?
negative_passages.docid: 109166
negative_passages.text: How to assign result of sed to variable
negative_passages.docid: 90078
negative_passages.text: Non greedy (reluctant) regex matching in sed?
negative_passages.docid: 85777
negative_passages.text: How do I replace the last occurrence of a character in a string using sed?
negative_passages.docid: 11072
negative_passages.text: Can sed replace new line characters?
negative_passages.docid: 48457
negative_passages.text: Circumvent the sed backreference limit \1 through \9
negative_passages.docid: 60118
negative_passages.text: Extra Backslash Required in First Appended Newline in sed
negative_passages.docid: 29334
negative_passages.text: sed substitution with Bash variables
negative_passages.docid: 114572
negative_passages.text: Remove the first part of a string using sed
negative_passages.docid: 96134
negative_passages.text: sed delete option change of delimiter
negative_passages.docid: 117607
negative_passages.text: How to do a recursive find/replace of a string with awk or sed?
negative_passages.docid: 155976
negative_passages.text: How to join a line with a pattern with the next line with sed?
negative_passages.docid: 133393
negative_passages.text: How can I replace a newline with sed?
negative_passages.docid: 4497
negative_passages.text: Delete specific line number(s) from a text file using sed?
negative_passages.docid: 84953
negative_passages.text: Multi-Line Sed Replace
negative_passages.docid: 89181
negative_passages.text: JavaScript .replace only replaces first Match
negative_passages.docid: 111881
negative_passages.text: sed - remove the very last occurrence of a string (a comma) in a file?