for i in *.html do echo $i grep -q "A newer edition of" $i if [ $? -eq 0 ] then echo "$i nop" else cat $i |sed -e "s/^Copyright.*center>$/&