home / blog

Tag Archives: tr

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.

Posted in geek | Tagged , | Leave a comment