$ perl -i -pe 's/wrongs/wrongs3/' wrongs
This is good if you don't have a recent version of GNU sed (only those have the -i option). I use it often enough that I have alias pp="perl -i -pe".
In reply to Re^2: Word replace - notetab light vs perl
by itub
in thread Word replace - notetab light vs perl
by kiat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |