home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ulowell!m2c!bu.edu!cvbnet!hsiegel
- From: hsiegel@cvbnet.prime.com (mailhost)
- Newsgroups: comp.unix.questions
- Subject: Re: Spell checker from inside vi
- Message-ID: <4634@cvbnetPrime.COM>
- Date: 28 Jan 93 15:21:12 GMT
- References: <1993Jan27.095737.16318@ncrcae.ColumbiaSC.NCR.COM>
- Sender: postnews@cvbnetPrime.COM
- Lines: 28
-
- From article <1993Jan27.095737.16318@ncrcae.ColumbiaSC.NCR.COM>, by raj@grok101.ColumbiaSC.NCR.COM (0000-Admin(0000)):
- > In article <1993Jan26.170105.4573@doug.cae.wisc.edu>, saunders@luther.che.wisc.edu (Brian E. Saunders) writes:
- > |> In article <C1HD54.Iv@news.udel.edu> william@bach.udel.edu (Wild William) writes:
- > |> >Is there a simple way to do spell checking on the current file from
- > |> >inside vi?
- ...
- > |> 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.
- ...
- > You can try the following on the command line of vi:
- > :!spell % >> %
- >
- > This will append the output of the command "spell" to the eof.
- > The "%" means the current file that is being edited.
-
- Or even simpler,
- :w
- :$r!spell %
- will (first) write the current version of the file to disk and then
- append the output of "spell" on the current file to the end of the
- file being edited.
-
- Howard Siegel hsiegel@piano.prime.com
- Computervision hsiegel@primerd.prime.com
- Bedford, Mass. hsiegel%piano.prime.com@RELAY.CS.NET
- (617) 275-1800 x4064 cvbnet!hsiegel@primerd.prime.com
-