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: Paul Eggert
Subject: bug#7753: Bug in tail command
Date: Tue, 28 Dec 2010 23:48:12 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

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.





reply via email to

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