Date: Fri, 6 Dec 2013 22:25:17 +0000 From: "Teske, Devin" <Devin.Teske@fisglobal.com> To: Nikolai Lifanov <lifanov@mail.lifanov.com> Cc: Devin Teske <dteske@freebsd.org>, freebsd-stable stable <freebsd-stable@freebsd.org>, "Teske, Devin" <Devin.Teske@fisglobal.com>, "freebsd@skysmurf.nl" <freebsd@skysmurf.nl> Subject: Re: [games/ofortune] CFT and pending issues Message-ID: <A64631EB-A272-4299-8565-20CB1B8874BD@fisglobal.com> In-Reply-To: <89649111-31D9-42AE-BD92-A715F10D37A3@fisglobal.com> References: <52A1E05A.10904@mail.lifanov.com> <89649111-31D9-42AE-BD92-A715F10D37A3@fisglobal.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 6, 2013, at 2:22 PM, Teske, Devin wrote: >=20 > On Dec 6, 2013, at 6:34 AM, Nikolai Lifanov wrote: >=20 >>> -1- >>> It's tentatively called ofortune. If you can think of a better name, > >>> then >>> by all means shoot. >>=20 >> How about fortune-offensive? >> I suggest putting new fortunes in /usr/local/games/fortune. >> You can install /usr/local/bin/fortune, which is a shell script with >> roughly this content: >>=20 >> #!/bin/sh >> env FORTUNE_PATH=3D/usr/local/games/fortune:/usr/games/fortune $@ >>=20 >=20 > Useless use of an "env" ;D Oh, and that syntax will negate the ability to override the value. Oh, and the unquoted $@ will exhibit unexpected behavior. Better would be: #!/bin/sh FORTUNE_PATH=3D"${FORTUNE_PATH:+$FORTUNE_PATH:}/usr/local/games/fortune" "$= @" --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A64631EB-A272-4299-8565-20CB1B8874BD>