Package: dash
Version: 0.5.12-12
Severity: important

Dear Maintainer,

this is basically a copy of https://bugs.debian.org/443685 but for dash
instead of bash.

The discussion at https://austingroupbugs.net/view.php?id=1234 is
helpful.

This behavior of bash is the correct posix behavior:
```
$ bash -o posix -c 'a=\\; echo $a\/*'
/bin /boot /dev /etc /home /initrd.img /initrd.img.old /lib /lib64 /lost+found 
/media /mnt /opt /proc /root /run /sbin /srv /sys /tmp /usr /var /vmlinuz 
/vmlinuz.old
```

dash instead behaves this way:
```
$ dash -c 'a=\\; echo $a\/*'
\/*
```


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dash depends on:
ii  debianutils  5.21
ii  libc6        2.40-6

dash recommends no packages.

dash suggests no packages.

-- debconf information excluded

Reply via email to