Someone
public text v1 · immutablefind ()
{
if (( ! $# )); then
return;
fi;
if [ -d $1 ]; then
DIR="$1";
shift;
else
DIR="$PWD";
fi;
if [ "$#" == "1" ]; then
`which find` -L "$PWD" -not -path '*.svn*' -iname "$1";
return 0;
fi;
COMMAND="`which find` -L \"$DIR\" -not -path '*.svn*' $@";
`which find` -L "$DIR" -not -path '*.svn*' "$@"
}