strange 'delayed' aliases
Hi all, I'm not sure if this is a bug or not but it certainly caught me by surprise. I accidentally created an alias ending with a backslash and a newline today and the resulting alias proceeded to grab the text on the line _after_ I ran it. For example: *$* echo $BASH_VERSION 4.0.33(1)-release *$* alias x='echo \ *>* ' *$* x *$* Hello, World! Hello, World! ** Is this delayed response expected? Regards, Jonathan
Re: strange 'delayed' aliases
> > 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). 4.2 would be fine but not before please! I'm still scheming how best put this feature to "good" use in my "friend's" .bashrc in the near future ;-)