From setantae@submonkey.net  Sun Nov 18 12:40:45 2001
Return-Path: <setantae@submonkey.net>
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 <FreeBSD-gnats-submit@freebsd.org>; 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: <E165Yk4-000Ew0-00@rhadamanth.private.submonkey.net>
Date: Sun, 18 Nov 2001 20:40:40 +0000
From: Ceri <setantae@submonkey.net>
Sender: setantae <setantae@submonkey.net>
Reply-To: Ceri <setantae@submonkey.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: fortune.6 contains an error regarding -e option
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         32085
>Category:       docs
>Synopsis:       fortune.6 contains an error regarding -e option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 18 12:50:00 PST 2001
>Closed-Date:    Fri Dec 7 20:55:35 PST 2001
>Last-Modified:  Fri Dec 07 20:56:22 PST 2001
>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:
State-Changed-From-To: open->closed 
State-Changed-By: keramida 
State-Changed-When: Fri Dec 7 20:55:35 PST 2001 
State-Changed-Why:  
Committed in revision 1.16 of src/games/fortune/fortune/fortune.6 
Thank you :) 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32085 
>Unformatted:
