| | 1 | The scripts were created by using the existing scripts from the generic |
| | 2 | Unix port of TADS as a template. They have been modified in order to |
| | 3 | fix portability issues. So if you see a script that looks like this: |
| | 4 | |
| | 5 | if test -f "$T3_OUT/$1.log"; then |
| | 6 | : |
| | 7 | else |
| | 8 | foo |
| | 9 | fi |
| | 10 | |
| | 11 | don't bother changing it to: |
| | 12 | |
| | 13 | if [ ! -f $T3_OUT/$1.log ]; then |
| | 14 | foo |
| | 15 | fi |
| | 16 | |
| | 17 | and sending it to the maintainer. The second example may look much |
| | 18 | better, but it's not portable. ('!' is not portable, '[' is not |
| | 19 | portable... welcome to Unix!) Of course, it's unlikely that people use |
| | 20 | 4.3BSD or Solaris 8, but still... |