[PATCH 2/6] printf: Support \e in "echo" and "printf" builtins.

2018-09-07 Thread Andrej Shadura
From: Adam Borowski dash's builtin version of printf doesn't support '\e' (escape), and literaly outputs the 2 characters as-is. As is well known, this sequence is useful, for example, when outputting ANSI escape sequences. While it seems that POSIX does not require that printf support '\e', it

Re: [PATCH 2/6] printf: Support \e in "echo" and "printf" builtins.

2018-09-11 Thread Adam Borowski
On Fri, Sep 07, 2018 at 10:34:10AM +0200, Andrej Shadura wrote: > From: Adam Borowski > > dash's builtin version of printf doesn't support '\e' (escape), and literaly > outputs the 2 characters as-is. As is well known, this sequence is useful, > for example, when outputting ANSI escape sequences.