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