Subject: Re: make print-PLIST and pkg_add use different quote/escape conventions
To: Todd Vierling <tv@duh.org>
From: David Laight <david@l8s.co.uk>
List: tech-pkg
Date: 03/14/2005 20:18:38
>
> No, it wasn't. Punctuation characters other than a dot (.) should *always*
> be used with caution in pathnames, and avoided wherever possible. There are
> plenty of OS's (not just "traditional" Unix) that may or may not have POSIX
> or Unix compatibility, but disallow various different punctuation characters
> on a filesystem altogether.
Indeed anything that is passed through 'make' had better not have spaces
(or tabs) in any filenames. Even some of the M$ build tools don't like that!
Other values to avoid:
':' in directory names - difficult to put in $PATH
'\n' - wrecks a lot of stuff
'\\' - just to annoy windows users
'/' (on windows) to annoy unix users (and programs that accept it as a
filename separator)
'/' when calling VOP_CREATE() directly
David
--
David Laight: david@l8s.co.uk