In which case, I'd slurp the file in, do the substitutions and write it back out to a temp file. Then I'd run diff on the original & temp files.
In reply to Re^3: Global substitution and report
by FunkyMonk
in thread Global substitution and report
by Outaspace
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |