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

On Mon, 14 Jan 2002, Thomas M. Albright wrote:

> I use pine for email. Pine uses ~/.signature for my sig. I'd like to be 
> able to have a text file full of different sigs that Pine would use, 
> instead of the one static sig.
> 
> Does anyone have any tips on how I could do this?

   Pine will can run any program that will spit out a sig on stdout.  You 
need to specify the program to run plus a pipe character as your Signature 
File.  My .pinerc contains:
signature-file=sig-standard|

And "sig-standard" is:
#!/bin/bash
echo "     -Matt"
echo
/usr/games/fortune -s -n 330 50% ~/mysigs 50% /usr/share/games/fortunes $*


   I'm lazy, so I use fortune to generate random sigs.  That command asks 
fortune to give me a quote under 330 characters, selected 50/50 from 
either the system fortunes directory or my tagline file in my home 
directory.  That file is called mysigs and uses the same format as the 
system fortunes.  See "man strfile".


- -- 
     -Matt

Daddy, why doesn't this magnet pick up this floppy disk? 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QxXkc8/WFSz+GKMRAh3zAJ9IOPf383308at5SmV5bKP3kNClLQCfSXI2
oS5H8WuP6ZvzOyU5Jq9ZiB0=
=ONHq
-----END PGP SIGNATURE-----


*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to