All of dW ----------------- AIX and UNIX Information Mgmt Lotus Rational Tivoli WebSphere ----------------- Architecture Autonomic computing Java technology Linux Multicore acceleration Open source SOA & Web services Web development XML ----------------- dW forums ----------------- alphaWorks ----------------- All of IBM
Perl as a command-line utility
Return to article
> find . | perl -ne'chomp; next unless -e; $oldname = $_; s/aaa/bbb/; next if -e; rename $oldname, $_'