bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set -e's bug


From: Chet Ramey
Subject: Re: set -e's bug
Date: Sat, 10 May 2008 21:49:00 -0400
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)

Hiroshi Fujishima wrote:
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: freebsd7.0
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='freebsd7.0' -DCONF_MACHTYPE='i386-portbld-freebsd7.0' 
-DCONF_VENDOR='portbld' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' 
-DSHELL  -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  -I/usr/local/include 
-O2 -fno-strict-aliasing -pipe
uname output: FreeBSD yamato.tonteki.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: 
Sun Feb 24 19:59:52 UTC 2008     
root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
Machine Type: i386-portbld-freebsd7.0

Bash Version: 3.2
Patch Level: 39
Release Status: release

Description:

Executing the following script.  It exits at `until command false'.

------------------------
set -e
until command false; do
    break
done
echo ok
------------------------

Thanks for the report.  This has been fixed for the next version.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]