How does sed -e '/./{H;$!d;}' -e 'x;/AAA/!d;' works to print paragraph
114565
GREP / SED or AWK: Print entire paragraph in a file on pattern match
73300
How do `>` and `>>` work?
121705
What is the purpose of "~" in the command "sed 's~ ~~g'"?
56008
How to use variables in sed command
112110
Pipelined Sed does not work on found filename inside Bash command substitution when invoked from Find "-exec"
121744
TeX's algorithms for "breaking paragraph into lines" and "setting the glue"
12642
sed command not giving proper output for regular expression used
132809
Variable in sed
2810
How to correctly print:
66926
How do I get the effect and usefulness of "set -e" inside a shell function?
18491
Are there zero-width assertions in sed?
143143
sed fails to remove newline character
60118
Extra Backslash Required in First Appended Newline in sed
28042
How can I use (sed|awk) to mask an e-mail address with asterisks like
65571
How to print "$" in here-document
156623
How to detect end of line with sed
5871
Using \iupac{\D} or \D in a \paragraph{} environment