Subject: Re: head/tail behaviour not explained
To: Igor Sobrado <sobrado@string1.ciencias.uniovi.es>
From: zak <zak@starwhack.net>
List: tech-userlevel
Date: 03/02/2003 04:15:02
On Thu, Mar 06, 2003 at 03:56:51PM +0100, Igor Sobrado wrote:
> Hi!
>
> The command-line syntax of head(1) and tail(1) is not fully explained
> in the man pages. The synopsis of head(1):
>
> head [-n count] [file ...]
>
> and tail:
>
> tail [-f | -F | -r] [-b number | -c number | -n number] [file ...]
>
> does not explain uses of commands like "head -5 file.txt" or
> "tail -16 file2.txt". Is this a part of the historic command-line
> syntax described in STANDARDS (tail(1)) and COMPATIBILITY (head(1))
> sections of the manual?
>
http://www.opengroup.org/onlinepubs/007904975/utilities/head.html
APPLICATION USAGE
The obsolescent - number form is withdrawn in this version. Applications should use the -n number option
Issue 6
The obsolescent -number form is withdrawn.
There seems to be nothing similar in the page for tail.
>
> Cheers!
> Igor.
>
> --
> Igor Sobrado, UK34436 - sobrado@acm.org
>
--
zak <zak@starwhack.net>