[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eval '' would exit an interactive shell
From: |
Chet Ramey |
Subject: |
Re: eval '' would exit an interactive shell |
Date: |
Thu, 1 Oct 2015 09:33:25 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
On 9/29/15 11:48 AM, 紫云飞 wrote:
> $ eval '\'
> exit
>
> I am wondering if this is a bug or intentional behavior.
It's a bug in bash-4.3, already fixed for the next release.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/