[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-diffutils] Incorrect output from cmp
From: |
Paul Eggert |
Subject: |
Re: [bug-diffutils] Incorrect output from cmp |
Date: |
Wed, 03 Oct 2012 21:59:17 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 |
cmp's output is correct, but this can be documented
better, as the origin-1 business isn't mentioned anywhere.
I pushed the following.
>From 93c75f2fcf16eb7769fc1d335b0569c4dd03ee70 Mon Sep 17 00:00:00 2001
From: Paul Eggert <address@hidden>
Date: Wed, 3 Oct 2012 21:57:21 -0700
Subject: [PATCH] * doc/diffutils.texi (cmp Options): Document -l format
better.
---
doc/diffutils.texi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/diffutils.texi b/doc/diffutils.texi
index 2908120..8509cf2 100644
--- a/doc/diffutils.texi
+++ b/doc/diffutils.texi
@@ -3563,6 +3563,9 @@ second.
@itemx --verbose
Output the (decimal) byte numbers and (octal) values of all differing bytes,
instead of the default standard output.
+Each output line contains a differing byte's number relative to the
+start of the input, followed by the differing byte values.
+Byte numbers start at 1.
Also, output the @acronym{EOF} message if one file is shorter than the other.
@item -n @var{count}
--
1.7.11.4