[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strange 'delayed' aliases
From: |
Chet Ramey |
Subject: |
Re: strange 'delayed' aliases |
Date: |
Tue, 29 Dec 2009 20:10:20 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 |
On 12/23/09 10:06 AM, Jonathan wrote:
> On Dec 23, 7:34 am, Chet Ramey <chet.ra...@case.edu> wrote:
>> I would think so, since you've inserted a command continuation (the escaped
>> newline) into the command via the alias. It's the same as if you had typed
>>
>> *$* echo \
>> *>* Hello, World!
>>
>> The only unexpected part is the re-issuing of $PS1 as opposed to $PS2.
>> I'll have to take a look at that.
>
> It certainly seems to be related to command continuations. Here are a
> few more symptoms:
There is certainly unexpected behavior going on here. I'll take a closer
look, but fixes will have to wait until bash-4.2 (or a patch to bash-4.1
if the problem is widespread).
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/