perl -i.BAK -pe 's!(<OPERATORID>)(.*)(</OPERATORID>)!$1 . substr($2, 0 +, 10) . $3!e' FILE1 FILE2 ...
In reply to RE: Quick solutions to easy problems
by tilly
in thread Quick solutions to easy problems
by wardk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |