#! /bin/csh # # Find a file in a list of standard directories. # # usage: find_src file # # where the file type ( .F, .inc, .h, .c ... ) should NOT be included # in the file name. # # This list is for mcfast and evgen. set dirlist = "$MCFAST_DIR $STDHEP_DIR/src $QQ_DIR/src $LUND_DIR/src $HERWIG_DIR/src . " # Files in the build area are temporaries, which are made from # the authoritative versions. We do not want to see these so strip # them from the output stream. find $dirlist -name $1\* -print | fgrep -v "/build/"