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


Message #10 received at 7753-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: "Kielbasiewicz, Peter" <peter.kielbasiewicz <at> philips.com>
Cc: 7753-done <at> debbugs.gnu.org
Subject: Re: bug#7753: Bug in tail command
Date: Tue, 28 Dec 2010 23:48:12 -0800
On 12/28/2010 10:56 PM, 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.




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.