[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils-bug
Subject:    bug#7753: Bug in tail command
From:       Bob Proulx <bob () proulx ! com>
Date:       2010-12-29 20:00:13
Message-ID: 20101229200013.GA15052 () hysteria ! proulx ! com
[Download RAW message or body]

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic