[Bug 215961] fortune -o does not work anymore

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 16 06:09:49 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215961

--- Comment #3 from Shane <FreeBSD at ShaneWare.Biz> ---
(In reply to Jilles Tjoelker from comment #2)
While related, it's not the same issue - removing a potentially offensive
datafile ("fortunes-o") from the base system is not the same as `fortune -o`
selecting from files ending with "-o".

/head/games/fortune/datfiles/Makefile comments that the "limerick murphy-o
gerrold.limerick" are potentially offensive, so even removing "fortunes-o"
didn't remove all offensive fortunes.

man fortune states - 

> -o Choose only from potentially offensive aphorisms.
> ...
> ...(those files ending ``-o'' contain the offensive fortunes)

So the issue isn't whether offensive fortunes exist, they could have been added
by the user, or installed from ports. The issue is that the `-o` option should
use files ending with "-o" when finding a fortune to display, currently the
`-o` option only searches for one filename, which doesn't exist now, when it
should find all files ending with "-o". Of course the `-o` option could be
removed with all fortune files being treated as equals.

If the current behaviour is "as expected", then the man page should be updated
to reflect that.

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


More information about the freebsd-bugs mailing list