Commit f6189412ce19a00af2026c598594dca3ee455afe

Authored by forget
1 parent 01a95d28

Script to convert accentuated letters to their non-accentuated equivalents.

Showing 1 changed file with 6 additions and 0 deletions   Show diff stats
conv-accents.sh 0 → 100755
@@ -0,0 +1,6 @@ @@ -0,0 +1,6 @@
  1 +#!/bin/bash
  2 +
  3 +if [ $# -ne 1 ]
  4 +then echo "Usage: $0 /usr/share/dict/your_language (creates a local copy with accents converted)"
  5 +else iconv -f utf8 -t ascii//TRANSLIT $1 > `basename $1`-no-accents
  6 +fi