Package: posh Version: 0.14.1 Severity: normal In the posh(1) man page:
SYNOPSIS posh [+-aCefilnuvx] [+-o option] [[-c command-string [command-name] | -s | file ] [argument...]] [...] -c command-string the shell executes the command(s) contained in command-string This is incorrect. "-c" is not an option that takes a string argument, but an option that takes 0 arguments: when one writes "posh -c foo", "foo" is an argument of posh, not an argument of the -c option. The difference is that one may have other options between "-c" and the actual arguments. So posh -c -- "echo foo" will execute "echo foo", not "--". As a comparison, see the bash(1), dash(1) and ksh93(1) man pages. However, the mksh(1) man page has the same issue (I reported the bug). -- System Information: Debian Release: bookworm/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.14.0-4-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages posh depends on: ii debconf [debconf-2.0] 1.5.79 ii libc6 2.32-4 posh recommends no packages. posh suggests no packages. -- debconf information excluded -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)