cc: Casper.Dik at Sun.COM Subject: Re: Re: [ksh93-integration-discuss] printf syntax and /sbin/shcompatibility --------
> There are NO requirements that other arguments starting with - should be > treated as options and cause an error. In section 1.11 under OPTIONS, the standard states that if the implementation does not an option that it should exit with a non-zero status. However, the standard does allow implementations to recognize additional options. > > The standard simply says that is is en error FOR AN APPLICATION to > call a utility in such a manner. No, this is not what the standard says. A conforming application cannot call a utility in such a manner. A non-conforming utility can do so and the behavior is unspecified. if the implementation does not recognized it as an known option, then it must report an error. Otherwise, it can process it however it wants. > > David Korn dgk at research.att.com