> yo
>
> is there a way to include something like fortune in a .signature file, so
> the quotes are placed in mail messages?
Welp, as you may or may not notice, my sig is randomized using fortune. To
find out how I did it _will_ cost you money...
On the other hand, you'll probably just have a peek at my .tcshrc anyway
and figure it out, so I may as well tell you how.
It's simple really, just needs a bit of basic shell redirection. I'm sure
there are cleaner ways to do this, but this way works for me.
.sig1 is the static part of my sig. In my .tcshrc you'll find this:
cp ~/.sig1 ~/.sig
fortune -s >> ~/.sig
The -s makes fortune choose a small fortune (under 4 lines I think), and
>> appends it to the end of .sig. Easy.
Anand pointed out to me the other day that it isn't a truly random sig as
it only changes each time I login, not after every mail I send. I'll work
this out one day when I'm really bored.
> also who wrote fortune? if they don't mind, can i have a look at the
> source?
Fortune is as old as the hills. Well from the man page, 1988 to be exact.
I'm pretty sure you could grab the source for fortune from just about any
ftp site. Do a web search, shouldn't be too hard to find.
Yours etc,
Matt Estela http://www.progsoc.uts.edu.au/~mestela Random fortune follows:
"One planet is all you get."