-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Karl Berry on 2/13/2008 7:18 PM: | In a nutshell, if the source file name contains : or \ or " or any | control character, we enclose it in quotes and escape as needed. | Otherwise, no quotes needed. Wdyt?
If my QA_SPLIT_TRIGRAPHS patch is added, then the c_maybe_quoting_style in combination with quotearg_colon (or a one-time set_char_quoting(NULL,':',1)') does just that. It sounds easy to parse as well - if the first character is ", search for the first unquoted " while processing \ escapes; otherwise, search for the first :. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHs8nf84KuGfSFAYARAqW5AJ9O+1snz9/muEu+aDZeYhc4b+11TwCgiDpr gX/Ciwm5OCUSoyJptkS4kN0= =NuQD -----END PGP SIGNATURE-----