diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-03-23 08:06:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-03-23 08:06:51 +0000 |
commit | 10e14168284459afae2990a7dcf67e5f42cddfc2 (patch) | |
tree | f23985cc94275617e5bf33745b55a9e06a73a01a | |
parent | 5a70e539002382b3601c3b13aa9d01f2da3aa59a (diff) |
tail anchor, to fetch 2nd manpage name, which is less likely to be over-written by the mail title; d
-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 } |