Abhay Ghaisas [Tue Sep 11, 2001 at 09:18:34AM +0530]:
> Hi,
> 
> > 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.
> -- 

Thanks, that worked. btw what does the whole line mean ?
I don't understand the last bit i.e.:

+':set wrap'+\`awk '/^$/ {print i+2; exit} {i++}' %s\` %s"

can someone please explain ?

regards,

Sharukh.

-- 
Dr. Sharukh K. R. Pavri
Mumbai, India.

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

Reply via email to