René Nyffenegger's collection of things on the web | |
René Nyffenegger on Oracle - Most wanted - Feedback
- Follow @renenyffenegger
|
Using sed to insert a line after a pattern | ||
inserts a 4 after the 3.
echo '1 2 3 5' | sed '/3/a\ 4' |