Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2001 20:40:40 +0000
From:      Ceri <setantae@submonkey.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/32085: fortune.6 contains an error regarding -e option
Message-ID:  <E165Yk4-000Ew0-00@rhadamanth.private.submonkey.net>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E165Yk4-000Ew0-00>