proof.bat
来自「数字转换的六个功能模块」· Batch 代码 · 共 25 行
BAT
25 行
echo off
echo ---------------------------------------------------------------
echo This is a crude form of spelling checker which illustrates
echo how some of the various Small-Tools programs can be used in
echo concert to accomplish a task. In step 6, EDT is invoked on
echo PROOF3.TMP which contains words not found in DICT. If you
echo note and delete the misspelled words and write the remaining
echo (good) words back to PROOF3.TMP and exit from EDT, the next
echo step will create a new dictionary augmented with the new words.
echo ---------------------------------------------------------------
echo Command: PROOF document
echo ---------------------------------------------------------------
pause
echo on
trn <%1 >proof1.tmp ~a-zA-Z:-:' :n
srt <proof1.tmp >proof2.tmp -u
del proof1.tmp
mrg proof2.tmp dict -1 >proof3.tmp
del proof2.tmp
edt proof3.tmp
pause enter control-c to skip dict update
mrg proof3.tmp dict >dict.new
del proof3.tmp
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?