printdir 205 B

12345678910
  1. #! /bin/sh
  2. # Some Cygwin users don't have find set on on their path correctly, so
  3. # we have to be explicit.
  4. if [ -x /bin/find ]; then
  5. /bin/find $1 -name \*$2 -print
  6. else
  7. find $1 -name \*$2 -print
  8. fi