On 2014-06-28, at 10:52, Harald van Dijk wrote: > On 28/06/14 06:56, Adam Borowski wrote: >> >> >> I'm not sure what's your policy towards extensions, but \e as \033 is >> something ubiquitous in the Unix world. C compilers (gcc, clang, icc and >> tcc -- but not MSVC), perl, shells (bash and zsh -- but not dash), etc. >> >> What about supporting it in dash as well? >> As a mostly passive lurker, I'm inclined to say, "No. Dash doesn't want to become bash." http://windtoons.com/images/Camel_-Head-Under-Tent-large.gif OTOH, there's a POSIX requirement that builtins be indistinguishable (except in performance) from the corresponding executables. > No comment on whether dash itself should accept \e, but you already > found a compiler that doesn't support it at all, and many of the ones > that do support it also (optionally) issue a warning for it. Should the > C code perhaps be using \033 instead of \e? > And here I put on my EBCDIC hat (crown of thorns) and say, "Be careful using numeric code points; they're not portable." -- gil -- To unsubscribe from this list: send the line "unsubscribe dash" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html