home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!emory!gwinnett!amfent!amf
- From: amf@amfent.gwinnett.com (Andy Feibus)
- Newsgroups: comp.unix.questions
- Subject: Re: Spell checker from inside vi
- Message-ID: <FHi2XB3w165w@amfent.gwinnett.com>
- Date: Wed, 27 Jan 93 09:37:38 EST
- References: <1993Jan26.170105.4573@doug.cae.wisc.edu>
- Lines: 30
-
- saunders@luther.che.wisc.edu (Brian E. Saunders) writes:
-
- > In article <C1HD54.Iv@news.udel.edu> william@bach.udel.edu (Wild William) wri
- > >Is there a simple way to do spell checking on the current file from
- > >inside vi?
- > >
- > >i tried {!}spell but strange codes show up and it doesn't show any
- > >alternatives etc.
- >
- > I can pipe the lines through spell by going to the command line and typing
- > "1,$!spell", but unfortunately the output replaces all of your lines! Does
- > anybody know how to redirect the output to the bottom of the file you are
- > currently working on? This should be easy, but I don't know how to do it.
- > --
- >
- > Brian E. Saunders saunders@luther.che.wisc.edu
- Try the following:
-
- :w! <--- Saves your file
- G <--- Move to the bottom of the file
- :r !spell % <--- Spell checks and adds the results to the end
-
- Happy trails!
- -- Andy.
-
- ------------
- Andy Feibus.
- AMF Enterprises; PS&I, Inc.; Open Systems Today; SCO Magazine; (whatever :-)
- andyfe@utoday.com
- or: amf@amfent.gwinnett.com
-