home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!europa.eng.gtefsd.com!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!sgiblab!munnari.oz.au!bruce.cs.monash.edu.au!merlin!cerberus!mips!glenn
- From: glenn@mips.bhpese.oz.au (Glenn McNally)
- Subject: Re: Spell checker from inside vi
- Organization: BHP, Newcastle, Australia
- Date: Thu, 28 Jan 1993 05:30:49 GMT
- Message-ID: <1993Jan28.053049.13343@cerberus.bhpese.oz.au>
- References: <C1HD54.Iv@news.udel.edu> <1993Jan26.170105.4573@doug.cae.wisc.edu> <1993Jan27.095737.16318@ncrcae.ColumbiaSC.NCR.COM>
- Sender: news@cerberus.bhpese.oz.au (News System)
- Lines: 36
-
- raj@grok101.ColumbiaSC.NCR.COM (0000-Admin(0000)) writes:
-
- >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 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
-
- >Brian & William,
-
- >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.
- >-raj
- >1/27/93
-
- also try :%w !spell
-
- Writes (w) all lines (%) to command (!) spell.
-
- glenn
- --
- Glenn McNALLY BHP Information Technology, Newcastle, NSW, Australia.
- INTERNET: glenn@mips.bhpese.oz.au PHONE: +61 49 402163
-