René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback -
 

Deleting a line that matches a pattern

Delete all lines that contain a 6:
echo '1
2
3
4
5
6' | sed '/6/d'