Package: dash
Version: 0.5.8-2.4
Severity: normal
Tags: upstream

dash$ type -- ls
--: not found
ls is /bin/ls

"type" doesn't threat "--" specially. But POSIX 2016 edition says it should.

Also, all your builtins mentioned in POSIX (be it "special built-in utility" or 
normal utility) should threat "--" specially. Unless it is in this list:

--begin of list--
break : continue . eval exec exit return shift times echo test [
--end of list--

-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (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.1
ii  dpkg         1.18.24
ii  libc6        2.24-11+deb9u1

dash recommends no packages.

dash suggests no packages.

-- debconf information:
* dash/sh: true

Reply via email to