Package: posh
Version: 0.12.6

When posh is run with `set -u` and empty argument list it fails on trying to 
use $@:

```
% posh -u -c 'echo "$@"'
posh: @: parameter not set
```

Dash, busybox ash, zsh, bash, mksh and ksh work fine in this case. Workaround 
with explicit `test $#` works, but is rather unconvenient to use. Trying 
`"${@:-}"` instead yields one argument for an empty argument list.

Same problem after `shift`:

```
% posh -u -c 'shift ; echo "$@"' - test
: @: parameter not set
```

I am using Gentoo linux, installed posh-0.12.6 from portage.

Reply via email to