Jim Meyering <address@hidden> wrote:
> And if you build the GNU coreutils on a system that conforms to
> POSIX 1003.1-2001, then you'll find that the above all fail, e.g. like this:
>
> $ head -1
> head: `-1' option is obsolete; use `-n 1'
> Try `head --help' for more information.
> [Exit 1]
Given the significant number of complaints about this behavior, I
think it would make sense to reject -1, etc., only if $POSIXLY_CORRECT
is set.
paul