home / blog

Scripted removal of accents from French text

This is the only way I’ve found to do it so far. Any better ideas?

cat input.txt | tr "\350\351\352\340\341\342\343\344\345\362\363\364\365\366\371\372\373\374" "eeeaaaaaaooooouuuu" 

Note tr \xxx is octal.

This entry was posted in geek and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published.