bug-coreutils
[Top][All Lists]
Advanced

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

bug#7753: Bug in tail command


From: Bob Proulx
Subject: bug#7753: Bug in tail command
Date: Wed, 29 Dec 2010 13:00:13 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

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





reply via email to

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