Base Directory Specification - XDG_*_DIRS syntax

Thiago Macieira thiago at kde.org
Sun Dec 25 05:57:31 PST 2011


On Sunday, 25 de December de 2011 05.14.38, subscription.discussion at gmail.com 
wrote:
> The XDG Base Directory Specification states that the environment variables
> $XDG_DATA_DIRS and $XDG_CONFIG_DIRS both have a list of paths that are
> separated by a colon (':') character. How should the values be interpreted
> if the path contains colons? Should the colon be escaped? How about the
> escape character, should that be escaped then too (e.g. '\\')? Or are
> colons allowed in the path at all?

How does PATH do it?

But I guess the question should be: is it wise to use paths that contain a 
colon?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/xdg/attachments/20111225/5008ce9b/attachment.pgp>


More information about the xdg mailing list