Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2022 06:10:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 237768] fortune(6): /usr/share/games/fortune is populated, No fortunes found in /usr/share/games/fortune:/usr/local/share/games/fortune.
Message-ID:  <bug-237768-227-FdhQeEk4Yd@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

Tatsuki Makino <tatsuki_makino@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tatsuki_makino@hotmail.com

--- Comment #4 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
Murphy's Law and others were removed from fortune here.
https://cgit.freebsd.org/src/commit/usr.bin/fortune?id=3D0538d7bbe620fafcdf=
296305bcd8aad2cb7d24f1

When there were no arguments, one file called fortunes is automatically add=
ed
here.
https://cgit.freebsd.org/src/tree/usr.bin/fortune/fortune/fortune.c?id=3D19=
5f1b124da4bf73d951cd251dffd9485672fe0a#n387

It seems that xxx and xxx.dat in the fortune file must be a pair, so the re=
vert
method challenged above is missing something.
The following procedure will restore it.

cd /usr/share/games/fortune
ln -s freebsd-tips fortunes
ln -s freebsd-tips.dat fortunes.dat
fortune

I think we should make this symlink the default to create :)

--=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-FdhQeEk4Yd>