[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A problem with case of filenames
Ortal Alpert <ortal@batata.fh.huji.ac.il>
On Thu, 10 Jul 1997, Tuvik Beker wrote:
> Hi,
>
> I have a huge and ancient application (a 200M source tree) that I want
> to port to linux (something technical in fortran).
> The most basic problem is the following: it was originally written on
> VAX, and the programmer/s refer to the various filesfrom within the
> sources in lower- upper- and mixed-case. No problem on a stupid VAX, but
> enough to drive anyone working on UNIX crazy...
> What I basically need to do is a. Turn all filenames to lowercase b.
> Find all the references to any file within this source tree (includes
> and such) and turn these to lowercase as well.
> I still don't have the sources, so there's time to think about the
> simplest way to accomplish that. I guess writing a perl script will be
> inevitable, but I might be wrong (after all, people around here started
> using perl instead of tail...). Your suggestions are most welcome.
>
> Thanks,
> Tuvik
> --
> _______________________________________
> Tuvik Beker
> becket@shum.huji.ac.il
> Tel. 03-5714436 Fax. 03-5334349
> _______________________________________
>
or an more simple not so elegant solution change all your open commands to
myopen or something and have this one change the filename to lowercase
Follow-Ups:
References: