FreeBSD tips of the day

Joshua Lokken joshua at joshualokken.com
Thu Apr 17 16:20:30 PDT 2003


* Martin Karlsson (mk-freebsd at bredband.net) wrote:
==> 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

It does, indeed.  Thanks Martin!

--
Joshua


More information about the freebsd-questions mailing list