bug-coreutils
[Top][All Lists]
Advanced

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

Re: small documentation change in tail


From: Eric Blake
Subject: Re: small documentation change in tail
Date: Thu, 05 Apr 2007 18:42:37 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to bhargav joshi on 4/5/2007 2:30 PM:
> If the first character of N (the number of bytes or lines) is a ‘+’,
> print beginning with the Nth item
> from the start of each file, otherwise, print the last N items in the
> file. N may have a multiplier suf-
> fix: b 512, k 1024, m 1024*1024.
> 
> above documentation is cryptic
> 
> + <value> print all lines starting from <value>th line
> - <value> print the last <value> lines
> 
> eg: if value=3
> tail +3 <filename> print all lines starting from 3rd line
> tail -3 <filename> prints last 3 lines

Thanks for the ideas.  However, 'tail -3' doesn't comply with the latest
POSIX.  And I am not quite sure how you wanted the documentation changed.
 If you really want it different, it would be nicer if you could provide a
patch for discussion, rather than leaving us guessing at what you wanted
to see.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGFZd884KuGfSFAYARAjYSAJ0YeohFjsKofZhU9MrsuQFV3uiifACgw0Zf
7RDXI/eLp1uYZiy2oM0P7k8=
=84Ux
-----END PGP SIGNATURE-----




reply via email to

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