Package: devscripts
Version: 2.15.9
Severity: normal

Dear Maintainer,

bash (without --posix) allows wildcards in redirects, for example

    echo 1 > /sys/class/leds/${DEVICE}?:amber:mute/brightness

As illustrated in the dash bug report #746186 [1],

> Per POSIX, a non-interactive shell shall not generate pathnames
> in redirections; an interactive shell may, provided exactly one
> pathname results.

dash, bash --posix and other shells do not expand wildcards in
redirects.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746186

--
Gioele Barabucci <gio...@svario.it>

_______________________________________________
devscripts-devel mailing list
devscripts-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to