| 1 |
echo off |
| 2 |
break on |
| 3 |
REM ===================================================================== |
| 4 |
REM Test bibclean on IBM PC DOS. |
| 5 |
REM The funny backspace in echo commands is just to get a blank |
| 6 |
REM line, rather than the current echo status. |
| 7 |
REM [01-May-1996] |
| 8 |
REM ===================================================================== |
| 9 |
|
| 10 |
echo ================== begin BibTeX test 1 =================== |
| 11 |
echo bibclean -init bibclean.ini -err testbib1.err testbib1.org |
| 12 |
bibclean -init bibclean.ini -err testbib1.err testbib1.org >testbib1.bib |
| 13 |
echo |
| 14 |
echo There should be no differences found: |
| 15 |
echo diff testbib1.bok testbib1.bib |
| 16 |
diff testbib1.bok testbib1.bib |
| 17 |
echo |
| 18 |
echo There should be no differences found: |
| 19 |
echo diff testbib1.eok testbib1.err |
| 20 |
diff testbib1.eok testbib1.err |
| 21 |
echo =================== end BibTeX test 1 ==================== |
| 22 |
|
| 23 |
echo ================== begin BibTeX test 2 =================== |
| 24 |
echo bibclean -init bibclean.ini -no-check-values -err testbib2.err testbib2.org |
| 25 |
bibclean -init bibclean.ini -no-check-values -err testbib2.err testbib2.org >testbib2.bib |
| 26 |
echo |
| 27 |
echo There should be no differences found: |
| 28 |
echo diff testbib2.bok testbib2.bib |
| 29 |
diff testbib2.bok testbib2.bib |
| 30 |
echo |
| 31 |
echo There should be no differences found: |
| 32 |
echo diff testbib2.eok testbib2.err |
| 33 |
diff testbib2.eok testbib2.err |
| 34 |
echo =================== end BibTeX test 2 ==================== |
| 35 |
|
| 36 |
echo ================== begin BibTeX test 3 =================== |
| 37 |
echo bibclean -init bibclean.ini -fix-font-change -err testbib3.err testbib3.org |
| 38 |
bibclean -init bibclean.ini -fix-font-change -err testbib3.err testbib3.org >testbib3.bib |
| 39 |
echo |
| 40 |
echo There should be no differences found: |
| 41 |
echo diff testbib3.bok testbib3.bib |
| 42 |
diff testbib3.bok testbib3.bib |
| 43 |
echo |
| 44 |
echo There should be no differences found: |
| 45 |
echo diff testbib3.eok testbib3.err |
| 46 |
diff testbib3.eok testbib3.err |
| 47 |
echo =================== end BibTeX test 3 ==================== |
| 48 |
|
| 49 |
echo ================== begin BibTeX test 4 =================== |
| 50 |
echo bibclean -init bibclean.ini -fix-font-change -err testbib4.err testbib4.org |
| 51 |
bibclean -init bibclean.ini -fix-font-change -err testbib4.err testbib4.org >testbib4.bib |
| 52 |
echo |
| 53 |
echo There should be no differences found: |
| 54 |
echo diff testbib4.bok testbib4.bib |
| 55 |
diff testbib4.bok testbib4.bib |
| 56 |
echo |
| 57 |
echo There should be no differences found: |
| 58 |
echo diff testbib4.eok testbib4.err |
| 59 |
diff testbib4.eok testbib4.err |
| 60 |
echo =================== end BibTeX test 4 ==================== |
| 61 |
|
| 62 |
echo ================== begin BibTeX test 5 =================== |
| 63 |
echo bibclean -init bibclean.ini -German-style -err testbib5.err testbib5.org |
| 64 |
bibclean -init bibclean.ini -German-style -err testbib5.err testbib5.org >testbib5.bib |
| 65 |
echo |
| 66 |
echo There should be no differences found: |
| 67 |
echo diff testbib5.bok testbib5.bib |
| 68 |
diff testbib5.bok testbib5.bib |
| 69 |
echo |
| 70 |
echo There should be no differences found: |
| 71 |
echo diff testbib5.eok testbib5.err |
| 72 |
diff testbib5.eok testbib5.err |
| 73 |
echo =================== end BibTeX test 5 ==================== |
| 74 |
|
| 75 |
echo ================== begin BibTeX test 6 =================== |
| 76 |
echo bibclean -init bibclean.ini -err testisxn.err testisxn.org |
| 77 |
bibclean -init bibclean.ini -err testisxn.err testisxn.org >testisxn.bib |
| 78 |
echo |
| 79 |
echo There should be no differences found: |
| 80 |
echo diff testisxn.bok testisxn.bib |
| 81 |
diff testisxn.bok testisxn.bib |
| 82 |
echo |
| 83 |
echo There should be no differences found: |
| 84 |
echo diff testisxn.eok testisxn.err |
| 85 |
diff testisxn.eok testisxn.err |
| 86 |
echo =================== end BibTeX test 6 =================== |
| 87 |
|
| 88 |
echo ================== begin BibTeX test 7 =================== |
| 89 |
echo bibclean -init bibclean.ini -err testcodn.err testcodn.org |
| 90 |
bibclean -init bibclean.ini -err testcodn.err testcodn.org >testcodn.bib |
| 91 |
echo |
| 92 |
echo There should be no differences found: |
| 93 |
echo diff testcodn.bok testcodn.bib |
| 94 |
diff testcodn.bok testcodn.bib |
| 95 |
echo |
| 96 |
echo There should be no differences found: |
| 97 |
echo diff testcodn.eok testcodn.err |
| 98 |
diff testcodn.eok testcodn.err |
| 99 |
echo =================== end BibTeX test 7 =================== |
| 100 |
|
| 101 |
echo ================== begin Scribe test 1 =================== |
| 102 |
echo bibclean -init bibclean.ini -err testscr1.err -scribe -no-check testscr1.org |
| 103 |
bibclean -init bibclean.ini -err testscr1.err -scribe -no-check testscr1.org >testscr1.bib |
| 104 |
echo |
| 105 |
echo There should be no differences found: |
| 106 |
echo diff testscr1.bok testscr1.bib |
| 107 |
diff testscr1.bok testscr1.bib |
| 108 |
echo |
| 109 |
echo There should be no differences found: |
| 110 |
echo diff testscr1.eok testscr1.err |
| 111 |
diff testscr1.eok testscr1.err |
| 112 |
echo =================== end Scribe test 1 ==================== |
| 113 |
|
| 114 |
echo ==================== begin Scribe test 2 ===================== |
| 115 |
echo |
| 116 |
bibclean -err testscr2.err -init-file bibclean.ini -scribe -file -no-check testscr2.org >testscr2.bib |
| 117 |
echo |
| 118 |
echo There should be no differences found: |
| 119 |
echo diff testscr2.bok testscr2.bib |
| 120 |
echo |
| 121 |
echo There should be no differences found: |
| 122 |
echo diff testscr2.eok testscr2.err |
| 123 |
echo |
| 124 |
echo |
| 125 |
bibclean -err testscr2.er2 -init-file bibclean.ini -scribe -file -no-check -no-par testscr2.org >testscr2.bi2 |
| 126 |
echo |
| 127 |
echo There should be no differences found: |
| 128 |
echo diff testscr2.bo2 testscr2.bi2 |
| 129 |
echo |
| 130 |
echo There should be no differences found: |
| 131 |
echo diff testscr2.eo2 testscr2.er2 |
| 132 |
echo |
| 133 |
echo ===================== end Scribe test 2 ====================== |
| 134 |
|
| 135 |
echo ================== begin Scribe test 3 =================== |
| 136 |
echo bibclean -init bibclean.ini -err testscr3.err -scribe -no-check testscr3.org |
| 137 |
bibclean -init bibclean.ini -err testscr3.err -scribe -no-check testscr3.org >testscr3.bib |
| 138 |
echo |
| 139 |
echo There should be no differences found: |
| 140 |
echo diff testscr3.bok testscr3.bib |
| 141 |
diff testscr3.bok testscr3.bib |
| 142 |
echo |
| 143 |
echo There should be no differences found: |
| 144 |
echo diff testscr3.eok testscr3.err |
| 145 |
diff testscr3.eok testscr3.err |
| 146 |
echo =================== end Scribe test 3 ==================== |