Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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

by JavaFan (Canon)
on Jan 21, 2010 at 00:40 UTC ( #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.
  • Comment on Re: Legacy Data Files on a Case-sensitive File-system

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?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2018-11-16 17:45 GMT
Find Nodes?
    Voting Booth?
    My code is most likely broken because:

    Results (200 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!