for i in *; do sed 's/
<\/div><\/td> /
<\/div><\/td>/g' "$i" > atempfile && mv atempfile "$i" done