UNIX sed Quick Reference: Print and Delete Lines with Address and Pattern Ranges
Use this sed quick reference to print or delete exact lines, ranges, and regex matches without opening an editor. It also highlights GNU vs POSIX differences and safer in-place editing patterns.
