From: Harald van Dijk <harald@gigawatt.nl>
To: Adam Borowski <kilobyte@angband.pl>
Cc: dash@vger.kernel.org
Subject: Re: [PATCH] \e in "echo" and "printf" builtins
Date: Sat, 28 Jun 2014 18:52:51 +0200 [thread overview]
Message-ID: <53AEF2E3.5080205@gigawatt.nl> (raw)
In-Reply-To: <20140628045653.GA5097@angband.pl>
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
next prev parent reply other threads:[~2014-06-28 17:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-28 4:56 [PATCH] \e in "echo" and "printf" builtins Adam Borowski
2014-06-28 16:52 ` Harald van Dijk [this message]
2014-06-28 17:27 ` Adam Borowski
2014-07-23 9:11 ` Adam Borowski
2014-07-23 10:26 ` Jérémie Courrèges-Anglas
2014-06-28 17:33 ` Paul Gilmartin
2014-06-29 9:28 ` Harald van Dijk
2014-06-30 13:08 ` Eric Blake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53AEF2E3.5080205@gigawatt.nl \
--to=harald@gigawatt.nl \
--cc=dash@vger.kernel.org \
--cc=kilobyte@angband.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox