> From: Bruno Haible <[email protected]>
> Cc: Paul Eggert <[email protected]>, Eli Zaretskii <[email protected]>, 
> [email protected]
> Bcc: [email protected]
> Date: Sun, 06 May 2012 20:33:05 +0200
> 
> Whereas for my proposal I see the following drawbacks:
> 
>   * The programmer has to explicitly write code with #if for native Windows.

This drawback could perhaps be avoided if, instead having an
"ms_shell" style in addition to the current "Posix shell" style, we
use a different set of styles: a "shell command-line argument" quoting
style and a "file-name" quoting style.  The former would be used for
producing shell commands, and will use platform-dependent quoting,
similar to the patch I sent.  The latter would be used for quoting
file names which are not meant to be passed to a shell, but rather
written as part of a program's output; that latter style will produce
identical results on all platforms.

Would this be okay?

Reply via email to