Re: bash: History substitution doesn't happen after ^V^J.
From:
Chet Ramey
Subject:
Re: bash: History substitution doesn't happen after ^V^J.
Date:
Mon, 1 Nov 2004 09:33:02 -0500
> One thing I didn't realise from Chet's explanation was that this
> simpler, single-line, case also fails.
>
> $ echo foo
> foo
> $ echo "abc'def" !$ xyz
> abc'def !$ xyz
I can't reproduce this using bash-3.0:
$ echo $BASH_VERSION
3.00.15(3)-release
$ echo foo
foo
$ echo "abc'def" !$ xyz
echo "abc'def" foo xyz
abc'def foo xyz
Chet
>
> This bites when I
>
> $ vi foo.c
> $ ci -u -m"Somebody's patch." !$
>
> Cheers,
>
>
> Ralph.
>
>
>
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live...Laugh...Love
Chet Ramey, ITS, CWRU chet@po.cwru.edu http://tiswww.tis.cwru.edu/~chet/
[Prev in Thread]
Current Thread
[Next in Thread]
Re: bash: History substitution doesn't happen after ^V^J.,
Chet Ramey<=