Update can make it even shorter like this...
but I'd go with the first one... :)perl -e 'for(<*>){`mv $_ $1.ERR`if/^(\d+_\d+)\.REPT$/}'
- Ant
In reply to Re: Shorter one-liner?
by suaveant
in thread Shorter one-liner?
by InfiniteSilence
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |