On 4/6/18 8:32 AM, Denys Vlasenko wrote:
> Background:
> 
> Unquoted heredocs are this construct
> cat <<EOF
> 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 single quotes: EO\F 'EOF' EOF"" ''EOF
> 
> 
> The bug: if there are backquotes in eof-mark,
> they become the part of eof-makr (this is ok), but they also
> make this heredoc _quoted_, which should not happen:

Thanks for the report. I'll take a look.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to