Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2020 18:06:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 237768] 12.0-RELEASE: Calling fortune(6) with no parameters yields "No fortunes found" error.
Message-ID:  <bug-237768-227-64R9mDnElx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237768-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237768-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237768

Ruby Lazuli Lord <nipkraps@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nipkraps@gmail.com

--- Comment #2 from Ruby Lazuli Lord <nipkraps@gmail.com> ---
Created attachment 212535
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D212535&action=
=3Dedit
Patch to allow the fortune command to look for all fortunes in the fortune
directory by default

It's worth noting that copying the text-based fortune file isn't enough for
fortune to recognize it; a corresponding .dat file must be made with "strfi=
le
myfortunes".

I've attached a patch based off of FreeBSD-CURRENT that should allow fortun=
e to
look in all fortune files in the directory by default (should I submit this
patch as a new bug report? Contributing to FreeBSD doesn't seem to mention
whether or not a new report should be filed for patches if a bug report alr=
eady
exists).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237768-227-64R9mDnElx>