ksh(1) bug?

Doug Gwyn gwyn at smoke.BRL.MIL
Thu Mar 29 08:28:17 AEST 1990


In article <710 at gtenmc.UUCP> stumpf at gtenmc.UUCP (Jon S. Stumpf) writes:
>	ls | > tmp
>Looking at the grammar on page 310-311 in "The Korn Shell" by Bolsky
>and Korn, I believe that a "command" cannot reduce into nothing.

However, the Korn shell attempts to be upward compatible with the Bourne
shell, which doesn't really have a rigorous grammar (although it comes
much closer than the Cshell).  In the Bourne shell, >tmp is the easiest
way to create a 0-length file.



More information about the Comp.unix.questions mailing list