Hey, I think in this case, history_expand lib/readline/histexpand.c:905 is invoked with hstring="b\" | echo '!'", and goes wrongly into history expansion. Not that I know how to fix it ;-)
cheers, pg On Tue, Dec 2, 2014 at 10:02 PM, <gennady.kup...@gmail.com> wrote: > This looks like a bug: > > gena@note2:~$ echo "a >> b" | echo '!' > bash: !': event not found >> ^C > gena@note2:~$ > > Is it? > > Gennady