NetBSD Problem Report #821
From gnats Thu Feb 23 02:13:39 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id CAA01843 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Thu, 23 Feb 1995 02:13:38 -0800
Message-Id: <199502231013.FAA13191@lola-granola.MIT.EDU>
Date: Thu, 23 Feb 1995 05:13:23 -0500
From: jhawk@MIT.EDU
Reply-To: jhawk@MIT.EDU
To: gnats-bugs@NetBSD.ORG
Subject: makewhatis.sed thinks it's an sh script
X-Send-Pr-Version: 3.2
>Number: 821
>Category: lib
>Synopsis: makewhatis.sed thinks it's an sh script
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 23 02:20:03 +0000 1995
>Closed-Date: Thu Feb 23 09:26:49 +0000 1995
>Last-Modified:
>Originator: John Hawkinson
>Release: 1.0
>Organization:
MIT
>Environment:
System: NetBSD lola-granola 1.0 NetBSD 1.0 (LOLA-DDB) #69: Tue Feb 14 19:56:56 EST 1995 jhawk@lola-granola:/u1/usr/src/sys/arch/i386/compile/LOLA-DDB i386
It's the same in -current.
>Description:
/usr/src/share/man/makewhatis.sed starts with
#!/bin/sh -
when it is clearly a sed script :-). It also has the SCCS ID from
4.3net2 (5.5 (Berkeley) 4/17/91), however it is exactly the same
in content as the 4.4lite version (except that 4.4lite fixes
the #!/bin/sh).
This patch fixes the sharp-bang, adds a $NetBSD$, and updates
the BSD SCCS ID to what was in 4.4lite.
>How-To-Repeat:
>Fix:
*** 1.1 1995/02/23 09:55:31
--- makewhatis.sed 1995/02/23 10:01:32
***************
*** 1,4 ****
! #!/bin/sh -
#
# Copyright (c) 1988 The Regents of the University of California.
# All rights reserved.
--- 1,4 ----
! #!/usr/bin/sed -nf
#
# Copyright (c) 1988 The Regents of the University of California.
# All rights reserved.
***************
*** 31,37 ****
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
! # @(#)makewhatis.sed 5.5 (Berkeley) 4/17/91
#
/^[a-zA-Z][a-zA-Z0-9\._+\-]*(\([a-zA-Z0-9\._+\-]*\).*/ {
--- 31,39 ----
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
! # $NetBSD$
! #from: @(#)makewhatis.sed 8.4 (Berkeley) 4/3/94
! #
#
/^[a-zA-Z][a-zA-Z0-9\._+\-]*(\([a-zA-Z0-9\._+\-]*\).*/ {
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Thu Feb 23 09:26:49 1995
State-Changed-Why:
Fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.