LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   vi spell-check? (http://www.linuxquestions.org/questions/linux-general-1/vi-spell-check-6084/)

jeri 08-31-2001 11:27 AM

vi spell-check?
 
I have studied and used linux for 2 weeks (!) and have been given this question:

How do you spell-check in Vi? You must spell-check from within Vi, with the corrected text replacing the original Vi text buffer contents. No saving the file, exiting Vi, and spell-checking the file separately!

I have looked in books and web info sites, and think it might be a redirection thing, although it says not to exit vi. I think the assignment is a push into getting involved in a forum because it's not easy for me to find the answer.

Thanks, Jeri

d3funct 08-31-2001 06:56 PM

To spell-check without
leaving a vi session:

:w !spell -b

jeri 09-01-2001 04:41 PM

vi spell-check
 
Thanx!!!
Information started popping out of everywhere once I saw that
I needed to look for ispell, not spell.

Jeri


All times are GMT -5. The time now is 01:01 AM.