Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Mutt and setting pithy single line quotes in sig :-)


On Wed, May 09, 2001 at 05:32:54PM +1000, Mike Lake wrote:
<snip!>
> In .muttrc I have:
> folder-hook slug set signature="/home/mikel/bin/fortune.sig|"
> 
> the script fortune.sig is:
> 
>         #!/bin/bash
>         # Create a short fortune to go before my email sig
>         echo `fortune -s`
>         echo 
>         cat ~/.signature

You might also be interested in the -n argument to fortune, which sets the
maximum length for the -s option, in characters.  So:
echo `fortune -l 75 -s`

Cheers,

Peter
peterhardy@xxxxxxxxxx
--
Things just happen.  What the hell.
                -- Didactylos the philosopher
                   (Terry Pratchett, Hogfather)