Re: Mangled argument vector choking on spaces?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 30 Dec 2014, David A. Wheeler wrote:

This is a slightly tricky problem; comments welcome.  It'd be nice to see
a simple and relatively clean solution to the problem.  I think "use double-quotes when
pathnames contain spaces" is a plausible answer.

The POSIX-style shell tosses the double quotes at first point of use. Arguments must be escaped varying amounts of times to survive a given data path, and the data path may not be a fixed one.

I agree that Windows is even more difficult, particlarly when there is a POSIX to Windows translation layer.

Bob
--
Bob Friesenhahn
bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux