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
[EMAIL PROTECTED]
--
Things just happen.  What the hell.
                -- Didactylos the philosopher
                   (Terry Pratchett, Hogfather)

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to