Re: [PATCH] \e in "echo" and "printf" builtins

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

 



On 28/06/14 06:56, Adam Borowski wrote:
> Hi!
> 
> 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?
> Patch attached.

Hi,

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?

Cheers,
Harald van Dijk
--
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




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux