[OT] Using your own fortune file
Hi,
PLEASE do not quote entire messages! Remove *everything* that does not
*directly* apply. The rest of the thread is archived if someone really wants
to go back and check the whole story.
At 5:52 AM PDT on June 6 bing yu sent off:
> i made a copy of the original fortunes and then delete all but two items
> in fortunes, it reads
>
> ---------fortunes begin -------------
> A day for firm decisions!!!!! Or is it?
> %
> A few hours grace before the madness begins again.
> %
> ---------fortunes end -------------
>
> now i run root@SIM:/usr/share/games/fortunes# fortune fortunes
> root@SIM:/usr/share/games/fortunes#
> it output nothing. (before i modified this file, it can print somthing
> in fortunes file)
>
> by now ,i cannot figure out where is the problem. i wild guess is
> fortunes.dat does anybody on this list can give me any hint?
Yes, to make a fortunes.dat, run
strfile fortunes
i.e. run strfile every time after you edit a fortune file.
--
GPG/PGP Keys: http://astro.utoronto.ca/~reid/pgp.html
Well, sure, the government lies, and the newspapers lie, but in a democracy
they aren't the same lies... - Richard Kettlewell
http://www.elmail.co.uk/staff/richard/