In Debian bug #746186, you wrote: > I was trapped by this strange bug. It seems that wildcards ("?" and > "*") are not resolved when used in redirection.
This is not a bug, but required by the POSIX specification. Per POSIX, a non-interactive shell shall not generate pathnames in redirections; an interactive shell may, provided exactly one pathname results. Dash chooses the simplest thing that can be compliant here: it never generates pathnames in redirections. You can see the same behaviour in scripts with bash --posix or ksh93. -- Jilles Tjoelker -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org