Return to locate CVS log | Up to [local] / OpenXM_contrib / pari-2.2 / config |
File: [local] / OpenXM_contrib / pari-2.2 / config / Attic / locate (download)
Revision 1.1, Tue Oct 2 11:16:55 2001 UTC (22 years, 10 months ago) by noro
Initial revision |
#!/bin/sh t=$1; shift; dflt=$1; shift for dir in $*; do file=$dir/$t if test -f $file; then echo $file; exit 0 fi if test -f $file.exe; then echo $file.exe; exit 0 fi done echo $dflt; exit 1