Deleting Lines with Sed in Multiple Files
The the following example I'm removing all the lines that start withMENU in txt files.
shopt -s nullglob
for f in `find . -name '*.txt'`
do
echo "Processing $f"
sed '/^MENU/d' $f > $f.backup
mv $f.backup $f
done
