home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!gatech!hubcap!ncrcae!grok101.ColumbiaSC.NCR.COM!raj
- From: raj@grok101.ColumbiaSC.NCR.COM (0000-Admin(0000))
- Subject: Re: Spell checker from inside vi
- Message-ID: <1993Jan27.095737.16318@ncrcae.ColumbiaSC.NCR.COM>
- Sender: root@grok101.ColumbiaSC.NCR.COM (0000-Admin(0000))
- Nntp-Posting-Host: grok101.columbiasc.ncr.com
- Organization: Your Organization Here
- References: <C1HD54.Iv@news.udel.edu> <1993Jan26.170105.4573@doug.cae.wisc.edu>
- Date: Wed, 27 Jan 93 14:57:37 GMT
- Lines: 25
-
- 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
-