Created
September 19, 2017 11:09
-
-
Save mitselek/11c72c33f06a722b732987e86a8f363c to your computer and use it in GitHub Desktop.
get rid of MS-WORD accentures
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find ./R6-nimed.txt -type f | xargs perl -CSD -i -pe 's/a\x{0308}/\x{00E4}/g' | |
find ./R6-nimed.txt -type f | xargs perl -CSD -i -pe 's/A\x{0308}/\x{00C4}/g' | |
find ./R6-nimed.txt -type f | xargs perl -CSD -i -pe 's/o\x{0308}/\x{00F6}/g' | |
find ./R6-nimed.txt -type f | xargs perl -CSD -i -pe 's/O\x{0308}/\x{00D6}/g' | |
find ./R6-nimed.txt -type f | xargs perl -CSD -i -pe 's/u\x{0308}/\x{00FC}/g' | |
find ./R6-nimed.txt -type f | xargs perl -CSD -i -pe 's/U\x{0308}/\x{00DC}/g' | |
find ./R6-nimed.txt -type f | xargs perl -CSD -i -pe 's/o\x{0303}/\x{00F5}/g' | |
find ./R6-nimed.txt -type f | xargs perl -CSD -i -pe 's/O\x{0303}/\x{00D5}/g' | |
find ./R6-nimed.txt -type f | xargs perl -CSD -i -pe 's/s\x{030C}/\x{0161}/g' | |
find ./R6-nimed.txt -type f | xargs perl -CSD -i -pe 's/S\x{030C}/\x{0160}/g' | |
find ./R6-nimed.txt -type f | xargs perl -CSD -i -pe 's/z\x{030C}/\x{017E}/g' | |
find ./R6-nimed.txt -type f | xargs perl -CSD -i -pe 's/Z\x{030C}/\x{017D}/g' | |
find ./R6-nimed.txt -type f | xargs perl -CSD -i -pe 's/c\x{030C}/\x{010D}/g' | |
find ./R6-nimed.txt -type f | xargs perl -CSD -i -pe 's/C\x{030C}/\x{010C}/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment