find . -type f | while IFS= read -r file do awk '{gsubscrip,FILENAME)} 1' "$file" > "${file}.$$" && mv "${file}.$$" "$file" done