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

Re: [PATCH 1/6] exec: Don't execute binary files if execve() returned ENOEXEC.

2018-09-11 Thread Jilles Tjoelker
On Fri, Sep 07, 2018 at 10:34:09AM +0200, Andrej Shadura wrote: > From: Adam Borowski > Both "dash -c foo" and "./foo" are supposed to be able to run hashbang-less > scripts, but attempts to execute common binary files tend to be nasty: > especially both ELF and PE tend to make dash create a