Hi,
I found everything correct. I am attaching the mutt.ed file. Please look into
it.
----------------------------<snip>---------------------------------

#!/bin/bash
#######################################
# bash script to change .signature from
# LOST dir after every mail (in mutt)
#######################################

EDITOR="/usr/bin/vim +':set textwidth=77' +':set wrap' +\ `awk '/^$/ {print i+2; exit} 
{i++}' %s\` %s" 
ROTATOR="rnd_sig.sh"
############
$EDITOR $1
$ROTATOR
############
exit 0
--------------------------</snip>-----------------------------------

Earlier there was no space between \`awk '. It was giving error in awk.... I changed 
it to \ `awk. Now it is not giving any error but when I press 'm' in mutt to compose a 
new mail it immediately says 'unmodified message aborted'

Regards.
Ajitabh Pandey
**** If Linux does not have a solution you have a wrong problem ****

Suresh Ramasubramanian [25/09/01 08:42 +0530]:
> +++ Ajitabh Pandey [linux-india] <25/09/01 07:23 +0530>:
> > But your muttrc already have set editor used.
> > I tried putting 
> 
> Eh?  See if the spacing etc in that command is correct ...

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to