You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
interp: heredocs get consumed by the first command process executed #1085
fang@debian:~$ gosh test.sh
AAA BBB
cat: /not_exist_file: No such file or directory
fang@debian:~$ bash test.sh
AAA BBB
cat: /not_exist_file: No such file or directory
CCC DDD
cat: /not_exist_file: No such file or directory
Activity
[-][BUG] misbehavior when process `while read -r; do`[/-][+][BUG] misbehave `while read -r; do`[/+][-][BUG] misbehave `while read -r; do`[/-][+]interp: heredocs get consumed by the first command process executed[/+]mvdan commentedon Aug 8, 2024
Thanks for reporting; this is a pretty severe bug actually, and I'm surprised it had not been spotted yet.
interp: implement here-documents via os.Pipe
chore(deps): update module mvdan.cc/sh/v3/cmd/shfmt to v3.12.0 (hetzn…
interp: keep scalar receiver copies scalar
docs: record scalar receiver copy lesson