Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Legacy Data Files on a Case-sensitive File-system

by JavaFan (Canon)
on Jan 21, 2010 at 00:40 UTC ( [id://818599]=note: print w/replies, xml ) Need Help??


in reply to Legacy Data Files on a Case-sensitive File-system

Non-programming solution: store the files on a case-insensitive filesystem, and let the filesystem sort it out.

Replies are listed 'Best First'.
Re^2: Legacy Data Files on a Case-sensitive File-system
by pobocks (Chaplain) on Jan 21, 2010 at 08:07 UTC

    I originally didn't get this, until I realized that you meant a non-case-preserving case-insensitive filesystem, followed by a copy back to real-people filesystems. In which case, yes, that would be the easiest way to solve my problem (and is very clever).

    Sadly, since the data are available on the web in their current, mis-cased form, dealing with it is the only option I have. Also, on another level, this wouldn't solve the problem of inconsistent filename casing IN the files - even after the files are all one case or the other, I'd still need to have a programming solution to match all the internal references.

    for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://818599]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-03-28 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found