Endre æøåÆØÅ til HTML entities
Thu 2025-03-06
find ./ -type f -name "*.html*" -print0 | xargs -0 grep -l 'æ' | tee /dev/tty | tr '\n' '\0' | xargs -0 sed -i 's/æ/\æ/g'
find ./ -type f -name "*.html*" -print0 | xargs -0 grep -l 'ø' | tee /dev/tty | tr '\n' '\0' | xargs -0 sed -i 's/ø/\ø/g'
find ./ -type f -name "*.html*" -print0 | xargs -0 grep -l 'å' | tee /dev/tty | tr '\n' '\0' | xargs -0 sed -i 's/å/\å/g'
find ./ -type f -name "*.html*" -print0 | xargs -0 grep -l 'Æ' | tee /dev/tty | tr '\n' '\0' | xargs -0 sed -i 's/Æ/\Æ/g'
find ./ -type f -name "*.html*" -print0 | xargs -0 grep -l 'Ø' | tee /dev/tty | tr '\n' '\0' | xargs -0 sed -i 's/Ø/\Ø/g'
find ./ -type f -name "*.html*" -print0 | xargs -0 grep -l 'Å' | tee /dev/tty | tr '\n' '\0' | xargs -0 sed -i 's/Å/\Å/g'