emersion / emersion/mrsh

The display of "unbound variable" cannot be prevented

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

Description

```console
$ mrsh -c '(set -u; : $v) 2>/dev/null; echo end'
mrsh: v: unbound variable
end

$ mrsh -c 'foo(){ ( { (set -u; : $v); } ) }; foo 2>/dev/null; echo end'
foo: v: unbound variable
end
```

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.