Ingo Schwarze wrote:
> Hi Philip,
>
> oops, our mails crossed.
>
> > Standardese: POSIX doesn't specify that they are exclusive options
>
> It does:
>
> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html
>
> section 12.1, clause 8
That also says:
The use of conflicting mutually-exclusive arguments produces undefined
results, unless a utility description specifies otherwise.
In that paragraph, "application" refers to the thing invoking the utility. So
a conforming script/user/etc is prohibited from calling grep -E -F.