How to recognize blocks of text with sed
Archive of posts tagged oneliners
Check certificate chain file
Check that the CA chain is ordered
Using different delimiters in sed
How to make sed programs more readable
Idiomatic awk
Some commonly used awk idioms
How to match newlines in sed
It doesn't work the way you think, but it does work