Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man8 Add special case: /dev/pms should refer to op...
details: https://anonhg.NetBSD.org/src/rev/c82be6e3456b
branches: trunk
changeset: 525870:c82be6e3456b
user: dillo <dillo%NetBSD.org@localhost>
date: Fri Apr 19 01:34:41 2002 +0000
description:
Add special case: /dev/pms should refer to opms(4) (if it existed), not
to pms(4). Noted by Thomas Klausner.
diffstat:
share/man/man8/MAKEDEV2manpage.awk | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 7ed7f1126b90 -r c82be6e3456b share/man/man8/MAKEDEV2manpage.awk
--- a/share/man/man8/MAKEDEV2manpage.awk Fri Apr 19 01:14:17 2002 +0000
+++ b/share/man/man8/MAKEDEV2manpage.awk Fri Apr 19 01:34:41 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MAKEDEV2manpage.awk,v 1.2 2002/04/18 13:33:01 dillo Exp $
+# $NetBSD: MAKEDEV2manpage.awk,v 1.3 2002/04/19 01:34:41 dillo Exp $
#
# Copyright (c) 2002
# Dieter Baron <dillo%netbsd.org@localhost>. All rights reserved.
@@ -140,10 +140,14 @@
sub(/[ \t]*$/, "", line);
# add manpage, if available
- page=target;
- sub(/[^a-zA-Z]+/, "", page);
if (target == "fd#")
page = "fdc";
+ else if (target == "pms#")
+ page = "omps";
+ else {
+ page=target;
+ sub(/[^a-zA-Z]+/, "", page);
+ }
if (system("test -f ../man4/" page ".4 -o -f ../man4/man4." ARCH "/" page ".4") == 0) {
sub(/[ \t]*$/, "", line);
Home |
Main Index |
Thread Index |
Old Index