Click here to Skip to main content
15,887,862 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Seems familiar... Pin
Peter_in_27808-Jul-20 1:14
professionalPeter_in_27808-Jul-20 1:14 
GeneralRe: Seems familiar... Pin
kalberts8-Jul-20 1:56
kalberts8-Jul-20 1:56 
RantHow did they not see this as a problem? Pin
honey the codewitch7-Jul-20 21:20
mvahoney the codewitch7-Jul-20 21:20 
JokeRe: How did they not see this as a problem? Pin
Nelek7-Jul-20 22:48
protectorNelek7-Jul-20 22:48 
JokeRe: How did they not see this as a problem? PinPopular
musefan7-Jul-20 23:25
musefan7-Jul-20 23:25 
GeneralRe: How did they not see this as a problem? Pin
Greg Utas7-Jul-20 23:54
professionalGreg Utas7-Jul-20 23:54 
GeneralRe: How did they not see this as a problem? Pin
musefan8-Jul-20 0:12
musefan8-Jul-20 0:12 
GeneralRe: How did they not see this as a problem? Pin
kalberts8-Jul-20 1:30
kalberts8-Jul-20 1:30 
musefan wrote:
If a person is using = in their file names then they don't deserve for their solution to work correctly anyway.
You talk like a Linux guy!

I was just ordered to remove case insensitive file name matching in this Windows specific tool that I will be maintaing: The routine looked for CMakeLists.txt, and I was told that anyone who uses a different casing for this file is simply doing it wrong - even though the file system explicitly is case insensitive. Case insensitive matching is "unnecessary" in this case, get rid of it!

Up until five to ten years ago, there was a heavy demand from the Linux community that file names should never contain space. We still have tools ported from Linux that crashes if they encounter a file name contianing space, with no way of quoting it properly from the outside because the tools derive the names of new file from it, without considering any qouting. One tool would even barf if it encountered a file with a space in the name even if that file was not referenced: The tool searched a directory, and crashed when trying to stat every file. So we had to make sure that noone put a (completely unrelated) file with a space in the name in any directory used with this tool.

A number of years ago, even Linux based software was forced to accept 8 bit characters (in ISO 8859 format) without stripping off the "parity bit" - but still there are lots of legacy tools that handle it poorly, and you may have to know all the different ways of quoting to get it right if you are working in a command shell. Today, even Linux (at least some distros!) even accept Unicode file names - but don't expect every application to handle it well!

Lots of businesses and organizations have names including a slash: A shareholder's company is in Norwegian an "aksjeselskap", an "A/S". Ships are often named by the kind of ship: "M/S Norway" is the SailingShip Norway, and so on. Such use of slashes in abbreviations are common in many European languages. Lots of Linux software will have problems if you use these organization names in file names. It used to be OK in DOS/Windows, but the pressure was too strong to accept ported *nix applications without adapting them at this point, so just to be kind to those *nix guys, DOS/Windows (sorry... DOS_Windows ...) introduced problems for the user by accepting the slash as an alternative path separator.

It has been claimed that the backslash was deliberately selected as the directory separator in DOS, rather than the forward slash, to avoid conflicts with traditional use of slash in names.

We may see that as a give-and-take: End user communities sacrified the slash in exchange for beyond-7bit-ASCII file names. Without the pressure from the Windows side, I am sure that Linux file names would have been at ASCII level even today.

If you manage to create a file name containing a wildcard (to non-computer people, calling a file "What to do now?" or "*** IMPORTANT POINTS ***" would be perfecly natural), you will run into problems.

In a CLI environment, names including a "&" (like in "Jonhs_Fish&Chips") may require quoting if used on the command line. Nor are ">" and "<" great as file name characters, as well as a number of other characters, e.g. used to identify alternate streams, or in some older file systems (non-Windows/*nix) file version.

Lots (but not all) of these restrictions are due to command line interfaces - the applications could have handled it, many don't but assume that e.g. a space terminates a file name (especially *nix born software).

But equal signs are still legal. You argue for restricting the set of "legal" file names even beyond that which is imposed by the file system itself. I think this is the wrong way to go. Ordinary people do not recognize the technical grounds for probiting any of these characters, and being told that that "they don't deserve for their solution to work correctly" because they use file names that make perfectly sense to them - and in this case even is a "technically" valid file name - is not the way I want software to move. It should rather go in the very opposite direction!
GeneralRe: How did they not see this as a problem? Pin
musefan8-Jul-20 1:52
musefan8-Jul-20 1:52 
GeneralRe: How did they not see this as a problem? Pin
kalberts8-Jul-20 2:40
kalberts8-Jul-20 2:40 
GeneralRe: How did they not see this as a problem? Pin
honey the codewitch8-Jul-20 3:27
mvahoney the codewitch8-Jul-20 3:27 
GeneralRe: How did they not see this as a problem? Pin
Richard MacCutchan7-Jul-20 23:40
mveRichard MacCutchan7-Jul-20 23:40 
GeneralRe: How did they not see this as a problem? Pin
DerekT-P7-Jul-20 23:49
professionalDerekT-P7-Jul-20 23:49 
GeneralRe: How did they not see this as a problem? Pin
Richard MacCutchan8-Jul-20 0:23
mveRichard MacCutchan8-Jul-20 0:23 
GeneralRe: How did they not see this as a problem? Pin
honey the codewitch8-Jul-20 3:32
mvahoney the codewitch8-Jul-20 3:32 
GeneralRe: How did they not see this as a problem? Pin
Richard MacCutchan8-Jul-20 3:45
mveRichard MacCutchan8-Jul-20 3:45 
GeneralRe: How did they not see this as a problem? Pin
honey the codewitch8-Jul-20 3:49
mvahoney the codewitch8-Jul-20 3:49 
GeneralRe: How did they not see this as a problem? Pin
Richard MacCutchan8-Jul-20 4:13
mveRichard MacCutchan8-Jul-20 4:13 
GeneralRe: How did they not see this as a problem? Pin
honey the codewitch8-Jul-20 4:17
mvahoney the codewitch8-Jul-20 4:17 
GeneralRe: How did they not see this as a problem? Pin
kalberts8-Jul-20 1:40
kalberts8-Jul-20 1:40 
GeneralRe: How did they not see this as a problem? Pin
honey the codewitch8-Jul-20 3:55
mvahoney the codewitch8-Jul-20 3:55 
GeneralRe: How did they not see this as a problem? Pin
den2k888-Jul-20 10:13
professionalden2k888-Jul-20 10:13 
GeneralThree missions to mars... Pin
Daniel Pfeffer7-Jul-20 19:28
professionalDaniel Pfeffer7-Jul-20 19:28 
GeneralRe: Three missions to mars... Pin
OriginalGriff7-Jul-20 19:50
mveOriginalGriff7-Jul-20 19:50 
JokeRe: Three missions to mars... Pin
Daniel Pfeffer7-Jul-20 20:21
professionalDaniel Pfeffer7-Jul-20 20:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.