[lug] Perl question
JEFF PFOHL
pfohl at sandia.gov
Fri Mar 31 15:09:25 MST 2000
I'm not a Perl guru. Why don't you just do this in /bin/sh?
#!/bin/sh
# this script converts file names from upper to lower case
for FILE in *
do
mv $FILE `echo $FILE|tr [A-Z] [a-z]`
done
--
JEFF PFOHL
E-MAIL: pfohl at sandia.gov
PHONE : (505) 844-7033 work
(505) 299-9516 home
(505) 844-6729 fax
http://nucalf.physics.fsu.edu/pfohl
"My grandfather once told me that there are two kinds of people:
Those who do the work and those who take the credit. He told me to
try to be in the first group; there was much less competition."
- Indira Ghandi, the late Prime Minister of India
More information about the LUG
mailing list