Return to Snippet

Revision: 3352
at July 13, 2007 06:36 by wolfie


Initial Code
perl -p -i -e “s/text/replacement text/g" filename

Initial URL


Initial Description


Initial Title
How to replace a string in a file quickly from the command line

Initial Tags
Bash, regexp, perl

Initial Language
Perl