FreeBSD tips of the day

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


Hi,

* Joshua Lokken <joshua at joshualokken.com> [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

HTH,
-- 
Martin Karlsson


More information about the freebsd-questions mailing list