1#! /bin/sh 2 3# Some people will have a shell variable O or reduce that indicates the 4# top of the Reduce tree. I will use bootstrapreduce in preference to 5# redcsl because it gives a bit more information if I need to debug. I 6# will use redcsl in preference to redpsl 7 8for x in $O/bin/bootstrapreduce \ 9 $reduce/bin/bootstrapreduce \ 10 $O/bin/redcsl \ 11 $reduce/bin/redcsl \ 12 $O/bin/redpsl \ 13 $reduce/bin/redpsl 14do 15 case $x in 16 *redpsl*) 17 echo "$x" 18 ;; 19 *) 20 echo "$x -w" 21 ;; 22 esac 23 exit 0 24done 25# fall back to hoping that just "redcsl" will bo on your PATH 26echo "redcsl -w" 27exit 0 28