bug-bash
[Top][All Lists]
Advanced

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

Re: eval "{" has exit status 0


From: Chet Ramey
Subject: Re: eval "{" has exit status 0
Date: Sat, 18 Oct 2008 14:23:38 -0400
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)

marco-oweber@gmx.de wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu'
> -DCONF_VENDOR='unknown'
> -DLOCALEDIR='/nix/store/mm631h09mj964hm9q04l5fd8vw12j1mm-bash-3.2-p39/share/locale'
> -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib
> -g -O2
> uname output: Linux mail.desk 2.6.25.17-default #1 SMP Tue Oct 7
> 23:48:14 UTC 2008 x86_64 GNU/Linux
> Machine Type: x86_64-unknown-linux-gnu
> 
> Bash Version: 3.2
> Patch Level: 39
> Release Status: release
> 
> Description:
>         I'd say eval "{" should have non zero exit status..
>         Maybe it should behave like this function and return exit status 1 ?

Thanks for the report.  This will be fixed in the next bash version.  Note
that it's only a problem when evaluating strings in interactive shells.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

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]