🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix
Article #390

Mapping of Directory names to lower case

#390
From: Donald Ballance
Date: Mon, 15 Apr 1991 16:24
31 lines
1805 bytes
lowercase version of it; this is so that the directory can be
selected in a case insensitive manner, i.e., they can specify
contents/info and get information on contents/INFO.

What I would like is a file with:
lowercase_directory_name Upper_Case_directory_name
an immaginary example would be:

contents             contents
contents/data        contents/Data
contents/info        contents/INFO
contents/users       contents/users
contents/users/big   contents/users/BIG
contents/users/small contents/users/SMALL

I would like to do this with standard Unix utilities (i.e., awk, sh,
tr, etc.) if possible.  Please mail me directly as I don't have time
to read this newsgroup.  I'll summarize back to the mailing list.
I'm using a SunOS 4.1.

Thanks in advance

Donald Ballance

-----------------------------------------------------------------------------
| Donald Ballance,    JANET:    donald@uk.ac.gla.eng.ctrl                   |
| Control Group,      BITNET:   donald@ctrl.eng.gla.ac.uk                   |
| Dept. Mechanical Engineering, donald%ctrl.eng.gla.ac.uk@ukacrl.bitnet     |
| The University,     INTERNET: donald%ctrl.eng.gla.ac.uk@cunyvm.cuny.edu   |
| Glasgow. G12 8QQ.             donald%ctrl.eng.gla.ac.uk@nsfnet-relay.ac.uk|
-----------------------------------------------------------------------------
Technical Details
Message-ID: <4806@gumby.Altos.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!altos!gumby!clp

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!altos!gumby!clp
From: donald@control.eng.glasgow.ac.uk (Donald Ballance)
Newsgroups: comp.unix
Subject: Mapping of Directory names to lower case
Message-ID: <4806@gumby.Altos.COM>
Date: 15 Apr 91 16:24:32 GMT
Sender: clp@gumby.Altos.COM
Organization: Rockwell International Science Center
Lines: 31
Approved: clp@altos.com
Apparently-To: comp-unix@uunet.uu.net