[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mutt & send hook



dman saw fit to inform me that: 
>On Sat, Sep 15, 2001 at 09:10:14PM +0000, Rajesh Fowkar wrote:
>| 
>| --------------------------------------------------------------------------
>| rajeshsign.sh is :
>| 
>| INFILE=$1
>| echo -en "\n\n\n" >> $INFILE
>| cat $HOME/.rajeshsign >> $INFILE
>| fortune -s >> $INFILE
>| vi $INFILE
>| rm -rf $INFILE
>| --------------------------------------------------------------------------
>| Any problems with my script ?
>
>Yes: you shouldn't be removing the message when you finish writing it.
>Mutt will remove it once it is sent.  That is kind of like if vi
>removed the file every time you quit it.  Thus mutt doesn't see any
>changes between the original (empty/nonexistant) and what it is when
>your "editor" finishes (nonexistant).

Thanks a lot. Now it works. Silly mistake on my part :-)


Regards


--
Rajesh 
http://www.symonds.net/~rajesh/    *****  Powered By: Debian GNU/Linux
:
[Linux One Stanza Tip]	From : <shridhar_daithankar@myrealbox.com>
LOST #082	 -**< Sub : Linux through NT boot loader >**-
To add linux to NT boot loader menu, in Linux do:
#dd -if=/dev/hdaN -of=/tmp/boot.lnx bs=512 count=1 
[where N is the partition of the Linux "/" (root dir)]
Ensure /tmp/boot.lnx is 512 bytes. Copy it to c:\ of NT.
Append 'c:\boot.lnx "linux"' 'to c:\boot.ini and you are done
 



Reply to: