On Fri, 2002-12-13 at 14:53, Jonathan M. Slivko wrote: > I noticed that Rick and a few other people are using dynamic e-mail signatures > for this list, I was wondering how I can do the same using Evolution. Please let > me know, thanks.
This is one way to do it. Maybe not the most elegant but it fit my
needs.
I made a directory "$HOME/.signatures" and put in it a number of
different sigs named ".sigXX" where XX was 00-24. I then had a little
script that was run from the users crontab every 5 minutes which looks
like this -
-------8<-------8<-------
#!/bin/sh
export SIGEXT=`date | awk '{print substr($4, 1, 2)}'`
cp ~/.signatures/.sig$SIGEXT ~/.signature
export SIGEXT=
-------8<-------8<-------
This will used a different sig every hour. You can change the files in
the directory with anything you want. I could have done something that
grabbed a random file every 5 minutes (or whatever) but I wanted to
rotate every hour.
--
"Khaaaaamaaayyyy, Haaaaamaaaayyyy, HAAAAAAAAA!!!!!"
-- Goku, 'Dragon Ball'
signature.asc
Description: This is a digitally signed message part
