bug-bash
[Top][All Lists]
Advanced

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

Re: Sourcing a file ending in \<newline> disables aliases for 1 command


From: Chet Ramey
Subject: Re: Sourcing a file ending in \<newline> disables aliases for 1 command
Date: Tue, 07 Apr 2015 11:10:47 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 4/3/15 3:55 PM, Eduardo A. Bustamante López wrote:

> Also, while looking at this, I found this:
> 
> dualbus@yaqui ~ % bash -c 'eval \\; echo y'
> y
> dualbus@yaqui ~ % bash -ic 'eval \\; echo y'
> exit
> 
> So, that eval is triggering a yacc_EOF, so that triggers the `exit' in the
> interactive shell.

Thanks for the report.  This one was a trickier fix, since there are two
problems here.  The fix will be in the next release of bash and will show
up on the devel branch soon.

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/



reply via email to

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