comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Q: routine name case sensitivity on unix
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Q: routine name case sensitivity on unix [message #17472 is a reply to message #17465] Sat, 23 October 1999 00:00 Go to previous messageGo to previous message
mallors is currently offline  mallors
Messages: 76
Registered: November 1997
Member
[Posted and mailed]

In article <7uqsir$n1q$1@nnrp1.deja.com>,
Mirko Vukovic <mvukovic@taz.telusa.com> writes:
>
> hmmm, do you know of a good way to rename all routines in a
> directory to lower case? I presume it would involve pipes,
> ls, grep, etc, but don't have the time to figure it all out now.
>

#!/bin/sh
#
# Rename all files in the current directory to lower case.

for file in *; do
mv $file `echo $file | tr '[A-Z' '[a-z]'`
done

--EOF


Make sure you use the correct type of quotes.

Regards,
-bob


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
Robert S. Mallozzi 256-544-0887
Mail Code SD 50
Work: http://gammaray.msfc.nasa.gov/ Marshall Space Flight Center
Play: http://cspar.uah.edu/~mallozzir/ Huntsville, AL 35812
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: GIF89a support in IDL
Next Topic: Z-Buffer

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 16:19:01 PDT 2025

Total time taken to generate the page: 2.08089 seconds