Package: file
Version: 4.24-4
Tags: patch
Severity: minor

Consider the file(1) manpage. The "See Also" section reads:

  magic(5), strings(1), od(1), hexdump(1,) file(1posix)

The entry for hexdump(1) is misformatted, due to a missing space in
the manpage source. The attached diff against current debian git adds
a dpatch to fix it.

Adam Buchbinder
From ea531a17f8553e539920ca0a74520b5b8c93afc7 Mon Sep 17 00:00:00 2001
From: Adam Buchbinder <adam.buchbin...@gmail.com>
Date: Tue, 17 Feb 2009 09:25:48 -0500
Subject: [PATCH] Fix misplaced comma.

Add a new dpatch which fixes an issue where the manpage had a minor
formatting error: "hexdump(1)," was displaying as "hexdump(1,)".
---
 debian/patches/00list               |    1 +
 debian/patches/997-doc-comma.dpatch |   20 ++++++++++++++++++++
 2 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100755 debian/patches/997-doc-comma.dpatch

diff --git a/debian/patches/00list b/debian/patches/00list
index 82c74bf..7d49e9a 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -41,5 +41,6 @@
 903-file-localmagic.dpatch
 904-file-make.dpatch
 906-file-hurd.dpatch
+997-doc-comma.dpatch
 998-doc-manpages.dpatch
 999-conglomeration.dpatch
diff --git a/debian/patches/997-doc-comma.dpatch b/debian/patches/997-doc-comma.dpatch
new file mode 100755
index 0000000..776bab9
--- /dev/null
+++ b/debian/patches/997-doc-comma.dpatch
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 997-doc-manpages.dpatch by Adam Buchbinder <adam.buchbin...@gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: A spacing error causes a reference to the hexdump manpage to show up
+## DP: as "hexdump(1,)" rather than "hexdump(1),"; this patch fixes it.
+
+...@dpatch@
+diff -urNad file~/doc/file.man file/doc/file.man
+--- file~/doc/file.man	2009-02-17 09:22:21.000000000 -0500
++++ file/doc/file.man	2009-02-17 09:23:50.000000000 -0500
+@@ -342,7 +342,7 @@
+ .Xr magic __FSECTION__ ,
+ .Xr strings 1 ,
+ .Xr od 1 ,
+-.Xr hexdump 1,
++.Xr hexdump 1 ,
+ .Xr file 1posix
+ .Sh STANDARDS CONFORMANCE
+ This program is believed to exceed the System V Interface Definition
-- 
1.5.6.3

Reply via email to