René Nyffenegger's collection of things on the web | |
René Nyffenegger on Oracle - Most wanted - Feedback
- Follow @renenyffenegger
|
Changing a line that contains a pattern | ||
The third line (containing drei) is completely changed into the third line
echo 'one eins un two zwei deux three drei trois four four quattre five fuenf cinque' | sed '/drei/c\ the third line' |