summaryrefslogtreecommitdiffstats
path: root/release/doc
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2005-07-04 07:48:02 +0000
committersimon <simon@FreeBSD.org>2005-07-04 07:48:02 +0000
commitfba5f3e9b053000ff97f9aeb91ab477df8424bd5 (patch)
treecccfab092cee77cbc70d3cd80977b40aea43aac0 /release/doc
parent01de8596652cde4bf8c79553119b5b17221e7ced (diff)
downloadFreeBSD-src-fba5f3e9b053000ff97f9aeb91ab477df8424bd5.zip
FreeBSD-src-fba5f3e9b053000ff97f9aeb91ab477df8424bd5.tar.gz
Handle .Li macro's with quoted arguments, which is used in the ath(4)
manual page. Noticed by: brueffer (long ago) Approved by: re (hrs)
Diffstat (limited to 'release/doc')
-rw-r--r--release/doc/share/misc/man2hwnotes.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/doc/share/misc/man2hwnotes.pl b/release/doc/share/misc/man2hwnotes.pl
index 8670693..899bc1c 100644
--- a/release/doc/share/misc/man2hwnotes.pl
+++ b/release/doc/share/misc/man2hwnotes.pl
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
# Emacs should use -*- cperl -*- mode
#
-# Copyright (c) 2003-2004 Simon L. Nielsen <simon@FreeBSD.org>
+# Copyright (c) 2003-2005 Simon L. Nielsen <simon@FreeBSD.org>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -223,6 +223,9 @@ sub parse {
add_listitem(\%mdocvars);
}
+ # Remove quotes, if any.
+ $txt =~ s/"(.*)"/$1/;
+
if ($mdocvars{listtype} eq "column") {
# Ignore first item when it is likely to be a
# header.
OpenPOWER on IntegriCloud