heredoc whose eof-mark has backquotes becomes quoted

2018-04-06 Thread Denys Vlasenko
Background: Unquoted heredocs are this construct cat <

Re: heredoc whose eof-mark has backquotes becomes quoted

2018-04-06 Thread Chet Ramey
On 4/6/18 8:32 AM, Denys Vlasenko wrote: > Background: > > Unquoted heredocs are this construct > cat < heredoc will expand $var, `cmd` etc > EOF > > Quoted heredocs are this construct: > cat <<"EOF" > these chars are literals: $ ` > EOF > > "Quoteness" also can be achieved by bkslash > or singl