mutt signature

Thomas Stivers stivers_t at tomass.dyndns.org
Thu Jul 15 14:53:10 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Jul 15 2004 at 05:18:49AM -0600, Raul A. Gallegos wrote:
> I just wrote a little script which will enable one to have a different 
> signature each time you write a message.  What I did was create a file 
> in my home dir called .signature-default which has my name and my web 
> address.  The makesig.sh script does the rest.  Just dropped it into my 
> home bin dir and chmod 755 makesig.sh.  In mutt you use the 
> line:
> 
> set signature=makesig.sh|
> 
> Note the pipe at the end of that line.  Here is 
> the little script.
> 
> #!/bin/sh
> 
> # makes a signature using fortune
> 
> /usr/games/fortune > $HOME/.signature-fortune
> cat $HOME/.signature-fortune $HOME/.signature-default

You may want to make your own fortune file so you know exactly which
signatures you're sending. There are a number of fortunes even in the
non-offensive database that I just don't want sent vor various
reasons. The fortune files are just regular text files with the fortunes
separated by a percent sign by itself on a line. You can put this file
in some place where fortune will look for it like
/usr/local/games/fortunes and then run 'strfile filename" where filename
is the name of the fortune file you created. Then just add to raoul's
fortune call above before the greater-than the name of your fortune
file. I hope at least someone has found this interesting or
informative.

- -- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

Thomas Stivers	e-mail: stivers_t at tomass.dyndns.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA9tKW5JK61UXLur0RArVoAJ9akMoJ2wfqsZ7rRlDU9qNp8SfZGgCfXSKO
XK9Km9Okr1GBpDG+fl7EnUA=
=uP1r
-----END PGP SIGNATURE-----




More information about the Speakup mailing list