aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/man/manlinks.sed
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ncurses/man/manlinks.sed')
-rw-r--r--contrib/ncurses/man/manlinks.sed6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/ncurses/man/manlinks.sed b/contrib/ncurses/man/manlinks.sed
index 922141955218..e175148aab9a 100644
--- a/contrib/ncurses/man/manlinks.sed
+++ b/contrib/ncurses/man/manlinks.sed
@@ -1,4 +1,4 @@
-# $Id: manlinks.sed,v 1.7 2000/07/01 19:50:06 tom Exp $
+# $Id: manlinks.sed,v 1.9 2000/09/30 23:32:24 tom Exp $
##############################################################################
# Copyright (c) 2000 Free Software Foundation, Inc. #
# #
@@ -53,11 +53,11 @@ s/\\-.*/ -/
s/ /\
/g
}
-:syn
/^\.SH_(SYNOPSIS/,/^\.SH_(DESCRIPTION/{
/^#/d
/^[^(]*$/d
- s/^\([^ (]\+ [*]*\)\+//g
+ s/^\([^ (]* [^ (]* [*]*\)//g
+ s/^\([^ (]* [*]*\)//g
s/\.SH_(/.SH_/
s/(.*//
s/\.SH_/.SH_(/