*BSD News Article 83315


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!hunter.premier.net!news.mathworks.com!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!tarrant.microlise.co.uk!news
From: andrewg@microlise.co.uk (Andrew Gierth)
Newsgroups: comp.infosystems.www.servers.unix,comp.unix.bsd.freebsd.misc,comp.unix.programmer,comp.unix.questions
Subject: Re: Help Need a UTIL for Case Sensitive Files.
Date: 20 Nov 1996 13:51:45 +0000
Organization: Microlise Engineering Ltd.
Lines: 18
Message-ID: <ufohgsnaby.fsf@zen.microlise.co.uk>
References: <01bbd5d3$54b9d060$86629dcc@big-one>
	<Pine.LNX.3.91.961119142024.2275A-100000@boqueron.vnet.es>
	<gora.848460776@pv7402.vincent.iastate.edu>
NNTP-Posting-Host: zen.microlise.co.uk
X-NNTP-Posting-Host: microl.demon.co.uk
In-reply-to: gora@iastate.edu's message of 20 Nov 96 03:32:56 GMT
X-Attribution: AG
X-Mayan-Date: Long count = 12.19.3.12.3; tzolkin = 3 Akbal; haab = 6 Ceh
X-Geek: (V3.1)
 GCS/IT/CC d-(pu) s:+> a- C++++$ UACHV++++$ P--- L E++ W(--) N+++ o? K? w---
 O+++ M- V-- PS+ PE Y+(--) PGP- t+@ 5+++ X R@ tv(-) b++ DI? !D G++ e h* !r y
X-Newsreader: Gnus v5.1
Xref: euryale.cc.adfa.oz.au comp.infosystems.www.servers.unix:22165 comp.unix.bsd.freebsd.misc:31326 comp.unix.programmer:46633 comp.unix.questions:91679

>>>>> "Gora" == Gora Mohanty <gora@iastate.edu> writes:

 > Francisco Rodrigo <frer@vnet.es> writes:

 >> cd /your/directory
 >> for a in *; do mv $a `echo $a | tr '[:upper:]' '[:lower:]'`; done

 Gora> Huh? What version of tr uses that syntax to convert from uppercase to
 Gora> lowercase?

Any version with proper international support. The correct translation from
uppercase to lowercase is locale-dependent; just using '[A-Z]' '[a-z]' isn't
good enough for most languages.

-- 
Andrew Gierth (andrewg@microlise.co.uk)

"Ceterum censeo Microsoftam delendam esse" - Alain Knaff in nanam