|Do you know where your variables are?|
[Win32] Verify filename (case sensitively)by syphilis (Canon)
|on Oct 08, 2012 at 12:05 UTC||Need Help??|
syphilis has asked for the
wisdom of the Perl Monks concerning the following question:
On MS Windows, what's the simplest way of verifying that a file is named 'Filename.ext' - as opposed to, say, 'FileName.ext' ?
Windows is not case-sensitive, but git is ... and I don't discover that I've made a case-sensitive slip in supplying a filename to the script that commits my changes to a git repo until the last (most inconvenient) moment.
Better, I think, that the script checks right at the start that the filenames I've provided honor case-sensitivity.