From: Jan-Simon Pendry Date: Mon, 4 Apr 1994 02:59:16 +0000 (-0800) Subject: fix _ parsing X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/3691fb455a81ac9f32a34589e0ac039af193c77d fix _ parsing SCCS-vsn: share/man/makewhatis.sed 8.4 --- diff --git a/usr/src/share/man/makewhatis.sed b/usr/src/share/man/makewhatis.sed index 6c9e36ee35..d9917c7d30 100644 --- a/usr/src/share/man/makewhatis.sed +++ b/usr/src/share/man/makewhatis.sed @@ -1,15 +1,15 @@ -#!/bin/sh - +#!/usr/bin/sed -nf # -# Copyright (c) 1988, 1993 +# Copyright (c) 1988, 1993, 1994 # The Regents of the University of California. All rights reserved. # # %sccs.include.redist.sh% # -# @(#)makewhatis.sed 8.3 (Berkeley) %G% +# @(#)makewhatis.sed 8.4 (Berkeley) %G% # /^[a-zA-Z][a-zA-Z0-9\._+\-]*(\([a-zA-Z0-9\._+\-]*\).*/ { - s;^[a-zA-Z0-9]*(\([a-zA-Z0-9\._+\-]*\).*;\1; + s;^[a-zA-Z0-9\._+\-]*(\([a-zA-Z0-9\._+\-]*\).*;\1; h d }