On Wed, Nov 09, 2005 at 01:56:01PM +, Gerrit Pape wrote:
All other POSIX shells behave like that.
http://www.opengroup.org/onlinepubs/009695399/utilities/return.html
It is definitely a bug to me. I've not tested it, but I had had
Actually, it's not as simple as that. The
reopen 332954
tags 332954 + patch
quit
Hi Herbert, please see http://bugs.debian.org/332954
On Tue, Nov 08, 2005 at 11:53:03AM +, Stephane Chazelas wrote:
The SUSv3sections you refer to speak of the exit status of the
while loops. That doesn't apply in my script example where I
talk of
On Fri, Nov 04, 2005 at 11:36:02AM -0800, Debian Bug Tracking System wrote:
[...]
It has been closed by one of the developers, namely
Gerrit Pape [EMAIL PROTECTED] (reply to [EMAIL PROTECTED]).
[...]
On Sun, Oct 09, 2005 at 07:55:19PM +0100, Stephane Chazelas wrote:
f() {
while return
On Sun, Oct 09, 2005 at 07:55:19PM +0100, Stephane Chazelas wrote:
f() {
while return 2; do :; done
}
f
echo $?
The above script outputs 0 while it should output 2.
Same goes for:
dash -c 'while return 2; do :; done'
Same with until instead of while
Hi Stephane, I think the
Package: dash
Version: 0.5.2-7
Severity: normal
f() {
while return 2; do :; done
}
f
echo $?
The above script outputs 0 while it should output 2.
Same goes for:
dash -c 'while return 2; do :; done'
Same with until instead of while
-- System Information:
Debian Release: testing/unstable
5 matches
Mail list logo