Pending OpenSSH release, call for testing.

Jason McCormick jason at devrandom.org
Mon Aug 16 12:37:12 EST 2004


> > run test yes-head.sh ...
> > head: -2000' option is obsolete; use -n 2000'
>
> That is just silly, did GNU deliberately break their head?

GNU's coreutils is trying to comply with POSIX 1003.1-2001 compliant.  
Supposedly the standard doesn't allow this.  Here's the blurb from the 
info page:

     On older systems, head supports an obsolete option -countoptions,
     which is recognized only if it is specified first. count is a 
     decimal number optionally followed by a size letter (b, k, m) as in 
     -c, or l to mean count by lines, or other option letters (cqv). 
     POSIX 1003.1-2001 (see Standards conformance) does not allow this; 
     use -c count or -n count instead.

The "see Standards conformance" references: 
http://www.tug.org/texinfohtml/coreutils.html#Standards-conformance

I'll file a patch to use -n

-- 
Jason McCormick 
jason at devrandom.org
GPG Key ID: 96D6CF63




More information about the openssh-unix-dev mailing list