Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2018-09-19 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Eventually, "covfefe" will come to mean:













    Results (163 votes). Check out past polls.

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