Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://818599]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2018-07-19 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (402 votes). Check out past polls.

    Notices?