Vincent Lefevre <address@hidden> wrote:
> dixsept:~> _POSIX2_VERSION=200111 head -1 /dev/null
> dixsept:~> _POSIX2_VERSION=200112 head -1 /dev/null
> head: `-1' option is obsolete; use `-n 1'
> Try `head --help' for more information.
> zsh: exit 1 _POSIX2_VERSION=200112 head -1 /dev/null
>
> I do not think this is a good idea to fail on the old form, as
> it is still useful, at least with an interactive shell. As said
> by the POSIX FAQ Q15, POSIX does not disallow this form:
The POSIX spec is a moving target.
This has been fixed in the latest sources (available via cvs).