[PATCH] escape dashes in man pages

man-dashes.diff: escape dashes in man pages, helps with UTF-8 locales
(by Philipp Matthias Hahn).
This commit is contained in:
md@Linux.IT 2004-03-01 22:34:10 -08:00 committed by Greg KH
parent b7b6562729
commit 758f236fd1
2 changed files with 14 additions and 14 deletions

6
udev.8
View File

@ -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

View 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