FreeBSD tips of the day

Martin Karlsson mk-freebsd at
Thu Apr 17 15:51:22 PDT 2003


* Joshua Lokken <joshua at> [2003-04-17 15.18 -0700]:
> How would a guy [guy is meant here as a generic term meaning 
> 'person' or 'body'] go about creating, ie 'simpsons.db' from a 
> homespun file of
> simpsons fortunes?  Thanks,

strfile(8) would do that.

Put delimiting characters in your simpsons-file (the existing 
fortune-files use a percent-sign), place it in 
/usr/share/games/fortune and issue:

# strfile simpsons

Martin Karlsson

More information about the freebsd-questions mailing list