At 10:09 PM 2/6/2006, RickSisler said something remarkably like (but
somehow subtly different from):
RickSisler ([EMAIL PROTECTED]) wrote:
> Kevin B. O'Brien ([EMAIL PROTECTED]) wrote:
> [...]
> > OK, I got it working. The problem was that I left out some quote
> > marks in what I was echoing.
> >
> > Now I am getting everything as one line. How do I insert a "return"
> > to get a new line?
Kevin and anyone else who doesn't know,
you can create your own quotes file that fortune will parse.
In a plain text editor, write your quotes, separating each one with
a percent sign on its own line. For example:
%
Now is the time for all good men to come to the aid of their country.
%
You can lead a horse to water but you can't make it drink.
%
He who laughs last laughs loudest
%
Assuming you save this file as "myquotes,"
just point fortune to it:
$> fortune /path/to/myquotes
He who laughs last laughs loudest
Rick, I don't know what I did exactly. I was trying to get it to pick
from my database, and now it doesn't seem to work at all. If I type
"fortune" in the command window, it just returns a command prompt. No
output, and no error message. Did I break it?
Thank you,
--
Kevin B. O'Brien TANSTAAFL
[EMAIL PROTECTED] Linux User #333216
"If you can't say anything good about someone, sit right here by me."
Alice Roosevelt Longworth
Help fight SPAM. Join CAUCE. http://www.cauce.org/
____________________________________________________
Want to buy your Pack or Services from Mandriva?
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________