but if you must do that in Perl you canfor N in *.xml; do mv $N ${N/%xml/txt} done
:)perl -e 'qx!for N in *.xml\; do mv \$N \${N/%xml/txt}\; done!;'
In reply to Re: perl code to replace
by hsinclai
in thread perl code to replace
by littlemonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |