coreutils
[Top][All Lists]
Advanced

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

[coreutils] Re: Bug#586581: coreutils: comm - Slight formatting error in


From: Jim Meyering
Subject: [coreutils] Re: Bug#586581: coreutils: comm - Slight formatting error in manual page
Date: Mon, 21 Jun 2010 08:56:52 +0200

Jari Aalto wrote:
> Package: coreutils
> Version: 8.5-1
> Severity: minor
>
> The comm(1) manual page reads:
>
>    EXAMPLES
>        comm -12 file1 file2
>               Print only lines present in both file1 and file2.
>
>>      comm -3
>>             file1 file2  Print lines in file1 not in file2, and vice versa.
>
> The last two lines should probably read:
>
>        comm -3 file1 file2
>               Print lines in file1 not in file2, and vice versa.

Thank you.
I'll fix it like this:

>From 1419af82433027b03c2d49f7a401beb485bcbe2a Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Mon, 21 Jun 2010 08:55:22 +0200
Subject: [PATCH] doc: fix comm's --help output so we generate a better man page

* src/comm.c (usage): Don't align example comments in --help output,
since the extra space (sequence of two spaces) there would be
interpreted by help2man and induce an unwanted line break
in the resulting man page.  Reported by Jari Aalto.
---
 src/comm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/comm.c b/src/comm.c
index 4e4aad5..ff42802 100644
--- a/src/comm.c
+++ b/src/comm.c
@@ -139,7 +139,7 @@ Note, comparisons honor the rules specified by 
`LC_COLLATE'.\n\
 \n\
 Examples:\n\
   %s -12 file1 file2  Print only lines present in both file1 and file2.\n\
-  %s -3  file1 file2  Print lines in file1 not in file2, and vice versa.\n\
+  %s -3 file1 file2  Print lines in file1 not in file2, and vice versa.\n\
 "),
               program_name, program_name);
       emit_ancillary_info ();
--
1.7.1.664.gf1fb2



reply via email to

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