Glenn Fowler writes: > > That one is a surprising change, particularly so because it's > > dependent on something apparently unrelated to the problem (the result > > of isatty(0), I assume). I think it'll need to be discussed in the > > context of that future ksh replacement case. > > 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.
Understood. However, that's still a "may," and having a difference between interactive and non-interactive for this (even if permitted by POSIX) is more than a bit odd. In any event, as I said, it's not an issue for this case. At all. -- James Carlson, KISS Network <james.d.carlson at sun.com> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677