Package: dash
Version: 0.5.8-2
Severity: minor

$ dash -c '/nonexistent' moo
moo: 1: moo: /nonexistent: not found

Note that the message contains $0 ("moo") twice, for no apparent reason. For comparison, bash prints $0 only once in the same situation:

$ bash -c '/nonexistent' moo
moo: /nonexistent: No such file or directory


-- System Information:
Debian Release: stretch/sid
 APT prefers unstable
 APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.1.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages dash depends on:
ii  debianutils  4.5.1
ii  dpkg         1.18.2
ii  libc6        2.19-19

--
Jakub Wilk

Reply via email to