From owner-freebsd-doc Sun Nov 18 12:50: 8 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1865737B416 for ; Sun, 18 Nov 2001 12:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAIKo1D79995; Sun, 18 Nov 2001 12:50:01 -0800 (PST) (envelope-from gnats) Received: from relay3-gui.server.ntli.net (relay3-gui.server.ntli.net [194.168.4.200]) by hub.freebsd.org (Postfix) with ESMTP id 6EA8637B417 for ; Sun, 18 Nov 2001 12:40:44 -0800 (PST) Received: from pc3-card3-0-cust122.cdf.cable.ntl.com ([62.254.251.122] helo=rhadamanth.private.submonkey.net ident=exim) by relay3-gui.server.ntli.net with esmtp (Exim 3.03 #2) id 165Yk7-00050L-00 for FreeBSD-gnats-submit@freebsd.org; Sun, 18 Nov 2001 20:40:43 +0000 Received: from setantae by rhadamanth.private.submonkey.net with local (Exim 3.33 #1) id 165Yk4-000Ew0-00 for FreeBSD-gnats-submit@freebsd.org; Sun, 18 Nov 2001 20:40:40 +0000 Message-Id: Date: Sun, 18 Nov 2001 20:40:40 +0000 From: Ceri Reply-To: Ceri To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: docs/32085: fortune.6 contains an error regarding -e option Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32085 >Category: docs >Synopsis: fortune.6 contains an error regarding -e option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 18 12:50:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: setantae@submonkey.net >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD rhadamanth.private.submonkey.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Nov 16 21:14:33 GMT 2001 root@rhadamanth.private.submonkey.net:/usr/obj/usr/src/sys/RHADAMANTH i386 >Description: fortune.6 states that fortune -e is equivalent to fortune 50% funny 50% not-funny which is only true if funny and not-funny are the only fortune databases that you have. >How-To-Repeat: man 6 fortune >Fix: Be more specific with the following patch : *** src/games/fortune/fortune/fortune.6.old Sun Nov 18 20:36:24 2001 --- src/games/fortune/fortune/fortune.6 Sun Nov 18 20:37:02 2001 *************** *** 162,168 **** option says to consider all files equal; thus .Bd -literal -offset indent ! fortune -e .Ed .Pp is equivalent to --- 162,168 ---- option says to consider all files equal; thus .Bd -literal -offset indent ! fortune -e funny not-funny .Ed .Pp is equivalent to >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message