Jerry Rocteur wrote: > > Hi, Hello,
> After you guys sent me all those wonderful links yesterday I've become > a one liner freak ;-)) > > This one is driving me crazy, no matter how I do the unless, it always > ignores it and overwrites an existing file. > > I've been struggling with it for hours and have tried all combinations > but just can't > > perl -e 'for (@ARGV) {rename $_,uc($_) unless -e "uc($_)"; } ' * > > What is wrong with it ??? subs/functions don't interpolate in quoted strings. perl -e'-e uc||rename($_,uc)for@ARGV' * John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]