emersion / emersion/mrsh

${*} causes syntax error

Open
#186 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
531
Forks
40
PR merge metrics
No merged PRs in 30d

Description

sample:
```sh
: ${*}
```

output:

dash, ash, mksh, oksh, yash, zsh(--emulate sh):
```

```

mrsh:
```
test.sh:1:5: syntax error: expected a parameter
```

Note that parameter expansion of `$*` [0] result in undefined behavior. `${*}` isn't a parameter expansion. It's a safe alias to `$*`

[0] https://www.austingroupbugs.net/view.php?id=1478

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.