Hi,

Dr . Sharukh K . R . Pavri . <[EMAIL PROTECTED]>  wrote --
> 
> I am using mutt 1.2.5i w/ pcqlinux 7.1. 
> 
> Whenever I compose a mail, the following error flits across the lower part of
> the screen: 
> 
> sh: awk/^$/ {print i+2; exit} {i++}: No such file or directory
> 
> I have the follownig in my .muttrc:
> 
> set editor="/usr/bin/vim +':set textwidth=77' +':set wrap'+\`awk'/^$/ {print
> i+2; exit} {i++}' %s\` %s"

The problem is the lack of a blank space between "...awk" and
"'/^$/...".  Change the line to:

set editor="/usr/bin/vim +':set textwidth=77' +':set wrap'+\`awk '/^$/ {print i+2; 
exit} {i++}' %s\` %s"

And this should work.  Put the whole thing on one line though.

Abhay.
-- 
Abhay Ghaisas
Staff Engineer, Global Software Group
Motorola India Electronics Ltd., Senate, Bangalore, India.

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

Reply via email to