bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: head -1 fails with _POSIX2_VERSION=200112


From: Jim Meyering
Subject: Re: head -1 fails with _POSIX2_VERSION=200112
Date: Tue, 20 Sep 2005 15:21:38 +0200

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).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]