[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: head -n -1
From: |
Dan Bolser |
Subject: |
Re: head -n -1 |
Date: |
Fri, 22 Oct 2004 08:20:56 +0100 (BST) |
Cheers, I can't see any diff with tail -n 3 and tail -n -3 though...
All the best,
Dan
On Thu, 21 Oct 2004, Paul Eggert wrote:
>Dan Bolser <address@hidden> writes:
>
>> Calls to head with negative line numbers should return that number of
>> lines from the end of the file.
>
>You can use "tail -n 1" for that.
>
>"tail -n COUNT" already uses the sign of the count for something
>different, so it would be confusing if "head" used the sign in the way
>that you suggest.
>