Re: History expansion quoting problem

2017-09-11 Thread Sasse, Dr. Philipp (TNE, Testo Visual Systems)
Chet Ramey wrote: > On 9/8/17 4:18 AM, Philipp Sasse wrote: > > Executing something like > > echo "foo > > bar" | sed '/foo/!d' > > results in an error. Apparently the history expansion considers only > > quoting characters on the same input line, so the closing double quote is > >

Re: History expansion quoting problem

2017-09-10 Thread Chet Ramey
On 9/8/17 4:18 AM, Philipp Sasse wrote: >   Executing something like >     echo "foo >     bar" | sed '/foo/!d' >   results in an error. Apparently the history expansion considers only > quoting characters on the same input line, so the closing double quote is > taken as opening double quote, es

History expansion quoting problem

2017-09-08 Thread Philipp Sasse
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gn uname output: Linux 64ws1231 4.9.0-3-amd64 #1 SMP Debian 4.9.