Path: utzoo!attcan!uunet!husc6!uwvax!rutgers!bellcore!faline!thumper!ulysses!andante!alice!andrew From: andrew@alice.UUCP Newsgroups: comp.unix.wizards Subject: Re: redirection before wildcards Summary: why cmd < pat* doesn't work. Message-ID: <7979@alice.UUCP> Date: 13 Jun 88 21:54:57 GMT References: <16101@brl-adm.ARPA> <670021@hpclscu.HP.COM> <10066@tekecs.TEK.COM> Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 10 it is not that wildcards are expanded after redirection; rather it is that bourne screwed the grammar. the grammar fo rthe shell (such that it is) says essentially: redir word rather than redir list and then check that list generates just one thing. (wildcard expansion is only done for lists.)