Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man8 Improve punctuation in some cases in autogene...
details: https://anonhg.NetBSD.org/src/rev/931dca46d14c
branches: trunk
changeset: 514664:931dca46d14c
user: wiz <wiz%NetBSD.org@localhost>
date: Sat Sep 08 01:30:22 2001 +0000
description:
Improve punctuation in some cases in autogenerated MAKEDEV(8)s.
diffstat:
share/man/man8/MAKEDEV2manpage.pl | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 1a396134d6c3 -r 931dca46d14c share/man/man8/MAKEDEV2manpage.pl
--- a/share/man/man8/MAKEDEV2manpage.pl Sat Sep 08 01:29:41 2001 +0000
+++ b/share/man/man8/MAKEDEV2manpage.pl Sat Sep 08 01:30:22 2001 +0000
@@ -1,6 +1,6 @@
#!/usr/pkg/bin/perl
#
-# $NetBSD: MAKEDEV2manpage.pl,v 1.8 2001/09/05 23:53:22 wiz Exp $
+# $NetBSD: MAKEDEV2manpage.pl,v 1.9 2001/09/08 01:30:22 wiz Exp $
#
# Copyright (c) 1999
# Hubert Feyrer <hubertf%netbsd.org@localhost>. All rights reserved.
@@ -127,6 +127,9 @@
$l = read1line();
do {
$l =~ s/#\s+//;
+ if ($l =~ /[^\s]:$/) {
+ $l =~ s/(.)$/ \1/;
+ }
print MANPAGE ".It $l"; # Print section heading
$l = read1line();
Home |
Main Index |
Thread Index |
Old Index