🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #1193

bug in man -f (whatis) in 4.3bsd

#1193
From: Joe Ramey
Date: Fri, 16 Sep 1988 19:02
19 lines
873 bytes
Whatis occasionally won't find in summary lines after commands
containing underscores.

Example: (this example is actually from SunOS 4.0, though the bug is
also in 4.3bsd man)

% whatis perror
perror, sys_errlist, sys_nerr, errno (3)    - system error messages
% whatis errno
man: man entry for errno not found.

Fix:
590c590
< 	while (isalpha(*bp) || isdigit(*bp))
---
> 	while (isalpha(*bp) || isdigit(*bp) || (*bp == '_'))

Joe Ramey
TI Computer Science Center
Technical Details
Message-ID: <58854@ti-csl.CSNET>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!killer!pollux!ti-csl!mips!ramey

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!killer!pollux!ti-csl!mips!ramey
From: ramey@mips.csc.ti.com (Joe Ramey)
Newsgroups: comp.bugs.4bsd
Subject: bug in man -f (whatis) in 4.3bsd
Message-ID: <58854@ti-csl.CSNET>
Date: 16 Sep 88 19:02:54 GMT
Sender: news@ti-csl.CSNET
Reply-To: ramey@csc.ti.com (Joe Ramey)
Organization: TI Computer Science Center, Dallas
Lines: 19