This program finds all input files given inputFileNamePattern
in inputFolder and then replaces the oldTextPattern in each of
those files with newTextPattern.
The text substitution is done by sed exhaustively
(s/\b$oldTextPattern\b/.../g by default, s/$oldTextPattern/.../g if
partialWord). It generates a $file.tmp file to hold the new content.
If partialWord is 1, then oldTextPattern is matched without whole-word
constraint. A word with partial match will be substituted too. Default
of partialWord is $partialWordDefault. If commit is not empty
(anything), this program will actually overwrite the original $file with
$file.tmp.