Filenames -- converting

Steve Dyer dyer at spdcc.COM
Fri Jun 9 13:08:49 AEST 1989


In article <1613 at hudson.acc.virginia.edu> wrp at biochsn.acc.Virginia.EDU.acc.Virginia.EDU (William R. Pearson) writes:
>Here is a program called tolower, that takes an argument and returns it in
>lowercase.  Compile it and use the csh script:
>	foreach file (*)
>	mv $file  `tolower $file`
>	end

Oh, you mean:

foreach file (*)
       mv $file  `echo $file | tr '[A-Z]' '[a-z]'`
end

-- 
Steve Dyer
dyer at ursa-major.spdcc.com aka {ima,harvard,rayssd,linus,m2c}!spdcc!dyer
dyer at arktouros.mit.edu



More information about the Comp.unix.xenix mailing list