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