All pastes #612746 Raw Edit

Something

public text v1 · immutable
·published 2007-07-10 16:24 UTC
rendered paste body
ff ()
{
    if (( $# < 2 )); then
        FILENAME='*';
    else
        FILENAME=$2;
    fi;
    CMD='command find -L $PWD -iname "${FILENAME}" -print0 | xargs -r0 grep -il "$1" | egrep -v "${EXCLUDES}"';
    eval $CMD
}