On 12/5/21 5:15 PM, S0AndS0 wrote:
> ## How to reproduce
> 
> 
> Copy following example into a terminal session;
> 
> 
> ```bash
> gawk '{
>   print $0;
> }' <<'EOF'
> first
> second
> third
> EOF
> ```
> 
> 
> Press `<Enter>`, then `<Arrow-Up>`
>>     [user@host ~]$ gawk '{
>>       print $0;
>>     }' <<'EOF'first
>>     second
>>     third
>>     EOF
> 
> 
> Notice the `}' <<'EOF'first` bit where the first new line is consumed.

Thanks for the report.

Chet
-- 
``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