Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Re: covert lowercase to uppercase.


On Mon, 20 Nov 2000, Angus Lees wrote:

> \begin{Rodos}
>
> > ls *.JPG | perl -ane 'chop; system("mv $_ " . lc($_));'
>
> perl has its own file ops you know ;)
>
>  ls *.JPG | perl -lne 'rename $_, lc;'

Ah, I new it could be done better! I'll try to remember that one.

Rodos

-- 
rodos@xxxxxxxxxxx | Failure is not an option, it comes bundled with every
Camion Technology | Microsoft product.                          [unknown]
+61 2 9873 5105   |