🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Donald Ballance Mon, 15 Apr 1991 16:24
Mapping of Directory names to lower case
#390
Author: 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|
-----------------------------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads