$perl -pi'orig_*' -e 's/I/A/ if /^THIS/' fileA
see: perldoc perlrun about -p, -i, -e switches
In reply to Re: sed style file parse from command-line
by ccn
in thread sed style file parse from command-line
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |