holzschu / holzschu/a-shell

shell: incorrect redirect semantics

Open
#934 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.