bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: head -n -1


From: Paul Eggert
Subject: Re: head -n -1
Date: Thu, 21 Oct 2004 12:29:47 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

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.




reply via email to

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