home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / question / 16011 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.5 KB  |  38 lines

  1. Newsgroups: comp.unix.questions
  2. 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
  3. From: raj@grok101.ColumbiaSC.NCR.COM (0000-Admin(0000))
  4. Subject: Re: Spell checker from inside vi
  5. Message-ID: <1993Jan27.095737.16318@ncrcae.ColumbiaSC.NCR.COM>
  6. Sender: root@grok101.ColumbiaSC.NCR.COM (0000-Admin(0000))
  7. Nntp-Posting-Host: grok101.columbiasc.ncr.com
  8. Organization: Your Organization Here
  9. References: <C1HD54.Iv@news.udel.edu> <1993Jan26.170105.4573@doug.cae.wisc.edu>
  10. Date: Wed, 27 Jan 93 14:57:37 GMT
  11. Lines: 25
  12.  
  13. In article <1993Jan26.170105.4573@doug.cae.wisc.edu>, saunders@luther.che.wisc.edu (Brian E. Saunders) writes:
  14. |> In article <C1HD54.Iv@news.udel.edu> william@bach.udel.edu (Wild William) writes:
  15. |> >Is there a simple way to do spell checking on the current file from
  16. |> >inside vi?
  17. |> >
  18. |> >i tried {!}spell but strange codes show up and it doesn't show any
  19. |> >alternatives etc.
  20. |> 
  21. |> I can pipe the lines through spell by going to the command line and typing
  22. |> "1,$!spell", but unfortunately the output replaces all of your lines!  Does
  23. |> anybody know how to redirect the output to the bottom of the file you are
  24. |> currently working on?  This should be easy, but I don't know how to do it.
  25. |> -- 
  26. |> 
  27. |> Brian E. Saunders            saunders@luther.che.wisc.edu
  28.  
  29. Brian & William,
  30.  
  31. You can try the following on the command line of vi:
  32. :!spell % >> %
  33.  
  34. This will append the output of the command "spell" to the eof.
  35. The "%" means the current file that is being edited.
  36. -raj
  37. 1/27/93
  38.