Re: debian patches to exit with code 127 for nonexistent/directory scripts

2010-06-08 Thread Cristian Ionescu-Idbohrn
On Tue, 8 Jun 2010, Herbert Xu wrote: Jilles Tjoelker jil...@stack.nl wrote: Debian's dash package has some local changes which cause an exit with code 127, as required by POSIX, if a script (passed with dash filename) cannot be opened or cannot be read because it is a directory. My

Re: [PATCH] [EVAL] with set -e exit the shell if a subshell exits non-zero

2010-06-28 Thread Cristian Ionescu-Idbohrn
On Mon, 28 Jun 2010, Herbert Xu wrote: On Mon, Jun 14, 2010 at 09:56:03AM +, Gerrit Pape wrote: Example: $ dash -c 'set -e; (false); echo here' here With this commit, dash exits 1 before echo. The bug was reported by Stefan Fritsch through http://bugs.debian.org/514863

Re: read() builtin doesnt read integer value /proc files (but bashs does)

2010-12-15 Thread Cristian Ionescu-Idbohrn
Jonathan, On Wed, 15 Dec 2010, Jonathan Nieder wrote: Cristian Ionescu-Idbohrn wrote: On Sun, 28 Nov 2010, Herbert Xu wrote: I'm with Jilles on this. I also don't particularly feel like bloating dash just because of the borked /proc interface when there is a perfectly adequate work