diff options
-rw-r--r-- | share/man/makewhatis.sed | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/makewhatis.sed b/share/man/makewhatis.sed index c9f3ac315fc..d8d71853e31 100644 --- a/share/man/makewhatis.sed +++ b/share/man/makewhatis.sed @@ -36,8 +36,8 @@ # @(#)makewhatis.sed 8.4 (Berkeley) 4/3/94 # -/^[a-zA-Z][a-zA-Z0-9\._+\-]*(\([a-zA-Z0-9\._+\-]*\).*/ { - s;^[a-zA-Z0-9\._+\-]*(\([a-zA-Z0-9\._+\-]*\).*;\1; +/[a-zA-Z][a-zA-Z0-9\._+\-]*(\([a-zA-Z0-9\._+\-]*\).*/ { + s;^.*[a-zA-Z0-9\._+\-]*(\([a-zA-Z0-9\._+\-]*\).*;\1; h d } |