>this is directly from posix:
>
>  [n] redir-op word
>
>  Pathname expansion shall not be performed on the word by a
>  non-interactive shell; an interactive shell may perform it,
>  but shall do so only when the expansion would result in one word.
>
>and
>
>  If the -i option is present, or if there are no operands
>  and the shell's standard input and standard error are
>  attached to a terminal, the shell is considered to be
>  interactive.


In that case this exception is perfectly fine and even required, if a
bit strange..

Casper


Reply via email to