Package: dash Version: 0.5.8-2.4 Severity: normal joey@darkstar:~>dash -n -c 'echo hi' hi joey@darkstar:~>bash -n -c 'echo hi' joey@darkstar:~>posh -n -c 'echo hi' joey@darkstar:~>
According the man page: -n noexec If not interactive, read commands but do not execute them. This is useful for checking the syntax of shell scripts. As well as not matching the man page, this nonstandard behavior can be a source of bugs. -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dash depends on: ii debianutils 4.8.1 ii dpkg 1.18.23 ii libc6 2.24-9 dash recommends no packages. dash suggests no packages. -- debconf information excluded -- see shy jo
signature.asc
Description: PGP signature