Tyson Zinn
$ find . -name "*.txt" | xargs -n 1 perl -pi -w -e "s/text([0-9])/other\$1/g;"
Does a search and replace across multiple files with a subgroup replacement.
by David Winterbottom (codeinthehole.com)
No comments:
Post a Comment