Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2003 00:50:41 +0200
From:      Martin Karlsson <mk-freebsd@bredband.net>
To:        Joshua Lokken <joshua@joshualokken.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD tips of the day
Message-ID:  <20030417225041.GB606@c-49c170d5.bredbandsbolaget.se>
In-Reply-To: <20030417221850.GB500@joloxbox.joshualokken.com>
References:  <3E9EE045.4030201@nyc.rr.com> <FDEMJJLGDBHNLPDNFEIEAEMDCEAA.ttyson@championelevators.com> <20030417221850.GB500@joloxbox.joshualokken.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

* Joshua Lokken <joshua@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030417225041.GB606>