home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / compiler / small_c / cb / sources / proof.bat < prev    next >
Encoding:
DOS Batch File  |  1985-09-14  |  981 b   |  25 lines

  1. echo off
  2. echo ---------------------------------------------------------------
  3. echo This is a crude form of spelling checker which illustrates
  4. echo how some of the various Small-Tools programs can be used in
  5. echo concert to accomplish a task.  In step 6, EDT is invoked on
  6. echo PROOF3.TMP which contains words not found in DICT.  If you
  7. echo note and delete the misspelled words and write the remaining
  8. echo (good) words back to PROOF3.TMP and exit from EDT, the next
  9. echo step will create a new dictionary augmented with the new words.
  10. echo ---------------------------------------------------------------
  11. echo Command: PROOF document
  12. echo ---------------------------------------------------------------
  13. pause
  14. echo on
  15. trn <%1 >proof1.tmp ~a-zA-Z:-:' :n
  16. srt <proof1.tmp >proof2.tmp -u
  17. del  proof1.tmp
  18. mrg  proof2.tmp dict -1 >proof3.tmp
  19. del  proof2.tmp
  20. edt  proof3.tmp
  21. pause enter control-c to skip dict update
  22. mrg  proof3.tmp dict >dict.new
  23. del  proof3.tmp
  24.  
  25.