#!/bin/bash
# search for a substring (grep) in a ucampas working directory in HTML
# sources or uconfig.txt files, from the current location downwards
find . -name .svn -type d -prune -false -o \( -iregex '.*-b\.\(html?\|php\)' -o -name uconfig.txt \) -print0 | xargs --no-run-if-empty -0 grep -H "$@"
