If you uncompress .zip or other compacted source files which were made under
operating systems which are not case sensitive - you may find yourself with
a directory full of ugly uppercase file names. Under Linux or any other case
sensitive Unix system this is irritating. I find repeatedly typing:

mv FOO.C foo.c

annoying and time consuming, even with the command completion capabilities
of bash. Being fundamentally lazy, and believing in Robert Heinlein's quote:

``progress is made by lazy men looking for easier ways to do things''

I wrote lwr to take care of the problem for me.  Basically lwr converts
upper case file names to lower case.

Examples:

lwr

If the lwr command is given with no arguments - the program attempts to
convert everything in the current directory to lower case file names. The
two exceptions are: `makefile' and `readme' which become `Makefile' and
`Readme' respectively.

lwr /home/bob/temp

The program converts everything in the directory /home/bob/temp to lower case
filenames with the above exceptions of `makefile' and `readme'. If you don't
like this behavior then try:

lwr /home/bob/temp/*

which will convert everything in the directory to lowercase. If you wish to
be selective then try:

lwr /home/bob/temp/*.C /home/bob/temp/*.H

which will convert all of the .C and .H files in /home/bob/temp to lower
case. The usual expansion capabilities of the shell are utilized:

lwr BOZO?

will convert `BOZOa' and `BOZO2' to `bozoa' and `bozo2' respectively.

lwr is in the spirit of `dos2unix' and `unix2dos': simple utilities that
almost no one bothers to write, but which are very useful. This little
utility is a small part of my pay back to the Linux community. The code is
copyright Bob Canup 1996 and is released under the GNU PUBLIC LICENSE.

A tip of my virtual hat to Linus, Lars, and the rest of the Linux developers
community, and to Richard Stallman and the GNU project team; thanks folks. 

Bob Canup 1/18/96

email: 73513.216@compuserve.com

How to create the lwr executable:

After doing a 'make' run the script 'upr'. This will create two
subdirectories temp and TEMP, and fill them with upper case files. You can
now use lwr to change all or part of the files to lower case names as
follows:

./lwr temp/* TEMP/BOZO1 TEMP/BOZO3

This will convert two files in TEMP/ and everything in temp/ directories.
Once your are satisfied the command works do:

rm temp/ TEMP/ -rf

Then (as root) 

make install

You are done.
