Marcus Ramberg > MojoMojo-1.10 > script/util/search_and_replace.pl

Download:
MojoMojo-1.10.tar.gz

Annotate this POD

Website

View/Report Bugs
Source  

Description ^

EXPERIMENTAL Global Search and Replace for MojoMojo pages. This script will search and replace on the most recent version of all pages. It has NOT been thorougly tested yet. Use at your own risk.

Usage ^

General Form: perl script/util/search_and_replace.pl --search 'something' --replace 'something else'

Concrete Example: perl script/util/search_and_replace.pl --search 'Cata\sliscious' --replace 'Dog man was here.'

The concrete example will replace 'Cata liscious' with 'Dog man was here.' Note the use of \s to match a space in the search term.

syntax highlighting: