bug-coreutils
[Top][All Lists]
Advanced

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

Re: Suggestion about tail


From: Jim Meyering
Subject: Re: Suggestion about tail
Date: Thu, 07 Feb 2008 23:07:14 +0100

"Bert Wesarg" <address@hidden> wrote:
> On Feb 7, 2008 10:41 PM, Eric Blake <address@hidden> wrote:
>> Jim Meyering <jim <at> meyering.net> writes:
>>
>> >
>> > Good idea.
>> > tail and a few other programs were made to work that way in May.
>>
>> http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=2539b53
> It looks like there was a typo in this commit:
>
> address@hidden by 1000*1000*1000, @samp{GB} by 1024*1024*1024,

Good catch!
Here's how I've fixed it:

diff --git a/ChangeLog b/ChangeLog
index f37a4ef..0cc95ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-02-07  Jim Meyering  <address@hidden>

+       Fix a typo in description of size suffixes: s/GB/G/.
+       * doc/coreutils.texi (od invocation, head invocation, tail invocation):
+       Spotted by Bert Wesarg.
+
        * NEWS [6.9.90]: Mention the added feature that head, od, split and
        tail now accept the standard size suffixes (kB, M, MB, G, GB, and
        so on for T, P, Y, Z, and Y) on arguments to selected options.
diff --git a/THANKS b/THANKS
index bb536b3..2a47910 100644
--- a/THANKS
+++ b/THANKS
@@ -69,6 +69,7 @@ Bernhard Baehr                      address@hidden
 Bernhard Gabler                     address@hidden
 Bernhard Rosenkraenzer              address@hidden
 Bert Deknuydt                       address@hidden
+Bert Wesarg                         address@hidden
 Bill Peters                         address@hidden
 Bjorn Helgaas                       address@hidden
 Bob McCracken                       address@hidden
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index aca5fbd..dfab040 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -1668,7 +1668,7 @@ hexadecimal; otherwise, if it begins with @samp{0}, in 
octal; otherwise,
 in decimal.  Appending @samp{b} multiplies @var{bytes} by 512,
 @samp{kB} by 1000, @samp{K} by 1024,
 @samp{MB} by 1000*1000, @samp{M} by 1024*1024,
address@hidden by 1000*1000*1000, @samp{GB} by 1024*1024*1024,
address@hidden by 1000*1000*1000, @samp{G} by 1024*1024*1024,
 and so on for @samp{T}, @samp{P}, @samp{E}, @samp{Z}, and @samp{Y}.

 @item -N @var{bytes}
@@ -2501,7 +2501,7 @@ print all but the last @var{n} bytes of each file.
 Appending @samp{b} multiplies @var{n} by 512,
 @samp{kB} by 1000, @samp{K} by 1024,
 @samp{MB} by 1000*1000, @samp{M} by 1024*1024,
address@hidden by 1000*1000*1000, @samp{GB} by 1024*1024*1024,
address@hidden by 1000*1000*1000, @samp{G} by 1024*1024*1024,
 and so on for @samp{T}, @samp{P}, @samp{E}, @samp{Z}, and @samp{Y}.

 @itemx -n @var{n}
@@ -2590,7 +2590,7 @@ However, if @var{n} starts with a @samp{+}, start 
printing with the
 Appending @samp{b} multiplies @var{bytes} by 512,
 @samp{kB} by 1000, @samp{K} by 1024,
 @samp{MB} by 1000*1000, @samp{M} by 1024*1024,
address@hidden by 1000*1000*1000, @samp{GB} by 1024*1024*1024,
address@hidden by 1000*1000*1000, @samp{G} by 1024*1024*1024,
 and so on for @samp{T}, @samp{P}, @samp{E}, @samp{Z}, and @samp{Y}.

 @item -f
--
1.5.4.35.g3cfc




reply via email to

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