From owner-freebsd-questions@FreeBSD.ORG Thu Apr 17 15:51:21 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF24637B401 for ; Thu, 17 Apr 2003 15:51:21 -0700 (PDT) Received: from mf1.bredband.net (mf1.bredband.net [195.54.106.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7936B43FB1 for ; Thu, 17 Apr 2003 15:51:20 -0700 (PDT) (envelope-from mk-freebsd@bredband.net) Received: from localhost.036-23-6f72652.cust.bredbandsbolaget.se ([213.112.193.73]) by mf1.bredband.net with ESMTP <20030417225119.CFKI269.mf1@localhost.036-23-6f72652.cust.bredbandsbolaget.se>; Fri, 18 Apr 2003 00:51:19 +0200 Received: from c-49c170d5.036-23-6f72652.cust.bredbandsbolaget.se (localhost [127.0.0.1])with ESMTP id h3HMpExJ095501; Fri, 18 Apr 2003 00:51:19 +0200 (CEST) (envelope-from mk-freebsd@bredband.net) Received: (from martink@localhost) (8.12.9/8.12.9/Submit) id h3HMof9d095498; Fri, 18 Apr 2003 00:50:41 +0200 (CEST) (envelope-from mk-freebsd@bredband.net) Date: Fri, 18 Apr 2003 00:50:41 +0200 From: Martin Karlsson To: Joshua Lokken Message-ID: <20030417225041.GB606@c-49c170d5.bredbandsbolaget.se> Mail-Followup-To: Joshua Lokken , freebsd-questions@freebsd.org References: <3E9EE045.4030201@nyc.rr.com> <20030417221850.GB500@joloxbox.joshualokken.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030417221850.GB500@joloxbox.joshualokken.com> X-Powered-by: FreeBSD X-PGP-Keyid: 9C924660 X-PGP-Fingerprint: 5970 BE22 2C33 4D8F 53FD 7E34 66FF 9332 9C92 4660 X-PGP-Key: http://www.krutov.org/martin_karlsson.asc User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD tips of the day X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2003 22:51:22 -0000 Hi, * Joshua Lokken [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