[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: command line processing order
> From: arnold%cc.gatech.edu@cegelecproj.co.uk (Arnold Robbins)
> The wildcard expansion is happening *after* the I/O redirection. The Bourne
> shell and Byron's rc both do the wildcard expansion first, and I think this
> is the right way to go.
hmm. i hadn't actually noticed this before, although you're right, of course.
means that this behaviour is also correct, although it's a little weird:
$ ls
a b c d foo1
$ cat ? > foo*
$ ls
a b c d foo* foo1
steve