| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | if ( testscip-shell system . . test. $# -eq 1 ) then |
| 3 | mvscip-shell system . . mv. b.$1 fort.27 |
| 4 | mvscip-shell system . . mv. s.$1 fort.28 |
| 5 | "$AUTO_DIR"/bin/reduce |
| 6 | mvscip-shell system . . mv. fort.27 b.$1~ |
| 7 | mvscip-shell system . . mv. fort.28 s.$1~ |
| 8 | if (testscip-shell system . . test. -r fort.37) then |
| 9 | mvscip-shell system . . mv. fort.37 b.$1 |
| 10 | fi |
| 11 | if (testscip-shell system . . test. -r fort.38) then |
| 12 | mvscip-shell system . . mv. fort.38 s.$1 |
| 13 | echoscip-shell system . . echo. " rl: File reduction finished." |
| 14 | fi |
| 15 | elif( testscip-shell system . . test. $# -eq 2 ) then |
| 16 | mvscip-shell system . . mv. b.$1 fort.27 |
| 17 | mvscip-shell system . . mv. s.$1 fort.28 |
| 18 | "$AUTO_DIR"/bin/reduce |
| 19 | mvscip-shell system . . mv. fort.27 b.$1~ |
| 20 | mvscip-shell system . . mv. fort.28 s.$1~ |
| 21 | if (testscip-shell system . . test. -r fort.37) then |
| 22 | mvscip-shell system . . mv. fort.37 b.$2 |
| 23 | fi |
| 24 | if (testscip-shell system . . test. -r fort.38) then |
| 25 | mvscip-shell system . . mv. fort.38 s.$2 |
| 26 | echoscip-shell system . . echo. " rl: File reduction finished." |
| 27 | fi |
| 28 | else |
| 29 | mvscip-shell system . . mv. fort.7 fort.27 |
| 30 | mvscip-shell system . . mv. fort.8 fort.28 |
| 31 | "$AUTO_DIR"/bin/reduce |
| 32 | mvscip-shell system . . mv. fort.27 fort.7~ |
| 33 | mvscip-shell system . . mv. fort.28 fort.8~ |
| 34 | if (testscip-shell system . . test. -r fort.37) then |
| 35 | mvscip-shell system . . mv. fort.37 fort.7 |
| 36 | fi |
| 37 | if (testscip-shell system . . test. -r fort.38) then |
| 38 | mvscip-shell system . . mv. fort.38 fort.8 |
| 39 | echoscip-shell system . . echo. " rl: File reduction finished." |
| 40 | fi |
| 41 | fi |