Date: Sun, 12 May 1996 12:16:53 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-current@FreeBSD.org (FreeBSD-current users) Cc: coredump@nervosa.com (invalid opcode) Subject: Re: your mail Message-ID: <199605121016.MAA06723@uriah.heep.sax.de> In-Reply-To: <Pine.BSF.3.91.960511200847.18881B-100000@onyx.nervosa.com> from invalid opcode at "May 11, 96 08:12:21 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As invalid opcode wrote:
> Rebuilding whatis database:
> /c++/: nested *?+ in regexp at /usr/bin/makewhatis line 286, <F> line 27.
> 284: foreach (split(/,\s+/, $man)) {
> 285: s/\(.+//;
> 286: ($f = $file) =~ s/$name/$_/;
> 287: # a keyword exist as file
> 288: return if -e "$f";
Try
$name =~ s/([*?+])/\\\1/g;
between lines 285 and 286.
--
cheers, J"org
joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605121016.MAA06723>
