[Top][All Lists]

[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: Gecko/20070221 Thunderbird/ Mnenhy/

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
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


reply via email to

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