# ### viald.sh ### ### Usage: viald.sh phrase ### ### Look in every file for phrase ### If found, vi file ### rm /tmp/viald.tmp 2>/dev/null for i in `find . -name \*.htm\* -print` do if grep -s "$*" $i > /dev/null 2>&1 then echo "$i" >> /tmp/viald.tmp fi done vi `cat /tmp/viald.tmp`