#!/bin/bash files=( "html/languages/de/admin.inc.php" "html/languages/de/master.inc.php" "html/languages/de/misc.inc.php" "html/languages/de/user.inc.php" "html/languages/de/reseller.inc.php" "html/languages/de/scripts.inc.php" ) for f in ${files[@]} do echo "$f..." perl -i -npe 's/ü/ü/g,s/ä/ä/g,s/ö/ö/g,s/ß/ß/g,s/Ü/Ü/g,s/Ä/Ä/g,s/Ö/Ö/g' "$f" done echo "umlauts replaced"