Mapping of Directory names to lower case

Donald Ballance donald at control.eng.glasgow.ac.uk
Tue Apr 16 02:24:32 AEST 1991


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 at uk.ac.gla.eng.ctrl                   |
| Control Group,      BITNET:   donald at ctrl.eng.gla.ac.uk                   |
| Dept. Mechanical Engineering, donald%ctrl.eng.gla.ac.uk at ukacrl.bitnet     |
| The University,     INTERNET: donald%ctrl.eng.gla.ac.uk at cunyvm.cuny.edu   |
| Glasgow. G12 8QQ.             donald%ctrl.eng.gla.ac.uk at nsfnet-relay.ac.uk|
-----------------------------------------------------------------------------



More information about the Comp.unix mailing list