chiark / gitweb /
[PATCH] escape dashes in man pages
authormd@Linux.IT <md@Linux.IT>
Tue, 2 Mar 2004 06:34:10 +0000 (22:34 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:35:06 +0000 (21:35 -0700)
man-dashes.diff: escape dashes in man pages, helps with UTF-8 locales
(by Philipp Matthias Hahn).

udev.8
udevinfo.8

diff --git a/udev.8 b/udev.8
index e449ef8dbb37c95c228db215aed830bd33fbb445..21ec908b8213861f7436ba68c917db7bc9b86bf1 100644 (file)
--- a/udev.8
+++ b/udev.8
@@ -304,8 +304,8 @@ Matches any single character, but does not match zero characters.
 .B [ ]
 Matches any single character specified within the brackets. For example, the
 pattern string "tty[SR]" would match either "ttyS" or "ttyR".  Ranges are also
-supported within this match with the '-' character.  For example, to match on
-the range of all digits, the pattern [0-9] would be used. If the first character
+supported within this match with the '\-' character.  For example, to match on
+the range of all digits, the pattern [0\-9] would be used. If the first character
 following the '[' is a '!' then any character not enclosed is matched.
 .SH "FILES"
 .nf
@@ -320,7 +320,7 @@ following the '[' is a '!' then any character not enclosed is matched.
 .BR hotplug (8)
 .PP
 The
-.I http://linux-hotplug.sourceforge.net/
+.I http://linux\-hotplug.sourceforge.net/
 web site.
 .SH AUTHORS
 .B udev
index 1716d174346d938cb7ea9075badb428f5eda5d29..ad16ce6aed43fdc8539ac5cd6ca60ee6a63e5201 100644 (file)
@@ -3,7 +3,7 @@
 udevinfo \- retrieve information from udev
 .SH SYNOPSIS
 .B udevinfo
-.RI "[-q " query_type " -p " sysfs_path "] [-drVh]"
+.RI "[\-q " query_type " \-p " sysfs_path "] [\-drVh]"
 .SH "DESCRIPTION"
 .B udevinfo
 allows users to query the udev database for information on any of the devices
@@ -13,40 +13,40 @@ in the sysfs tree to help in creating
 rule files.
 .SH "OPTIONS"
 .TP
-.B -V
+.B \-V
 Print the version information.
 .TP
-.B -r
+.B \-r
 Print the the
 .B udev_root
 directory. When used in conjunction with a query for the node name, the
 .B udev_root
 will be prepended.
 .TP
-.BI -q " query_type"
+.BI \-q " query_type"
 Query the database for specified value of a created device node.
-.RB Needs " -p " or " -n " specified.
+.RB Needs " \-p " or " \-n " specified.
 .br
 Valid types are:
 .BR name ", " symlink ", " mode " ," owner " , " group " or " path.
 .TP
-.BI -p " sysfs_path"
+.BI \-p " sysfs_path"
 Specify the sysfs path of the device to query.
 .TP
-.BI -n " name"
+.BI \-n " name"
 Specify the name of the node for the device to query.
 .TP
-.B -a
+.B \-a
 Print all
 .BI SYSFS{ filename }
 attributes along the device chain. Useful for for finding
 unique attributes to compose a rule.
-.RB Needs " -p " specified.
+.RB Needs " \-p " specified.
 .TP
-.B -d
+.B \-d
 Dump the whole database.
 .TP
-.B -h
+.B \-h
 Print help text.
 .SH "FILES"
 .nf