Wow, this looks just like sed(1). Sed rules!
chris
>
> Hi,
> perl rules:)
>
> rename 's/([A-Z])/_\l$1/g' *
>
> will do the job.
>
> As I already pointed out on this list, rename cames with the standard
> perl package of potato.
>
> By the way,
> rename 's/([A-Z])/_\l$1/g;s/^_([a-z])/\u$1/' *
>
> will avoid putting the underscore at the beginning, changing back _a
> into A.
>
> - --
> The Hobbit
> ICQ #56656060
>
> I am the "ILOVEGNU" signature virus. Just copy me to your signature.
> This email was infected under the terms of the GNU General Public
> License.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.1 (GNU/Linux)
> Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard
> <http://www.gnupg.org/>
>
> iD8DBQE5caCXv9iOG/S6owkRAkssAJ9gRvIqr1X5lSNK2hOlIwQtc/yBrwCdGZIM
> T4gQXtaxPD6uXS7FsfVWMts=
> =kO91
> -----END PGP SIGNATURE-----
>
>
> --
> Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
>