- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Mutt and setting pithy single line quotes in sig :-)
- From: Peter Hardy <peterhardy@xxxxxxxxxx>
- Date: Wed May 9 17:48:01 2001
- Cc: Mike Lake <Mike.Lake@xxxxxxxxxx>
- User-agent: Mutt/1.2.5i
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)