GNU bug report logs - #7753
Bug in tail command

Previous Next

Package: coreutils;

Reported by: "Kielbasiewicz, Peter" <peter.kielbasiewicz <at> philips.com>

Date: Wed, 29 Dec 2010 06:50:03 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bob Proulx <bob <at> proulx.com>
To: "Kielbasiewicz, Peter" <peter.kielbasiewicz <at> philips.com>, 7753 <at> debbugs.gnu.org
Subject: bug#7753: Bug in tail command
Date: Wed, 29 Dec 2010 13:00:13 -0700
Paul Eggert wrote:
> Kielbasiewicz, Peter wrote:
> > df | tail -lines +2 works OK
> > 
> > I support HP-UX, Redhat and Ubuntu systems and unfortunately
> > the -lines option does not work on my legacy HP-UX systems.
> 
> This should work, on all systems conforming to POSIX
> (which surely HP-UX does):
> 
> df | tail -n +2
> 
> "tail +2" isn't portable.

Additional information is available in the FAQ:

  http://www.gnu.org/software/coreutils/faq/#Old-tail-plus-N-syntax-now-fails

Bob




This bug report was last modified 14 years and 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.