[Top][All Lists]

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

Re: Bug with `eval return' in .bashrc ?

From: Chet Ramey
Subject: Re: Bug with `eval return' in .bashrc ?
Date: Mon, 13 Aug 2012 19:28:53 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0

On 8/10/12 3:05 AM, Clark WANG wrote:
> For quite a long time I don't know why my bash stops remembering command
> history. I just figured out it was caused by some code like `eval return'
> in the .bashrc/.bash_profile.

Thanks for the report.  As you suspected, the combination of eval and
return causes bash to not clean up from the eval properly.  It will be
fixed in the next version.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

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