shell: incorrect redirect semantics
Open
- Dominant language
- Perl
- Stars
- 3.9k
- Forks
- 213
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
while trying to workaround #920 (which I encountered individually), I hit another issue:
below is `test.sh`;
```bash
{ echo foo; echo bar; echo baz; } > out.txt
```
when running `sh test.sh`, only `foo` gets redirected into `out.txt`; meanwhile, `bar` and `baz` are printed to stdout.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.