From f6189412ce19a00af2026c598594dca3ee455afe Mon Sep 17 00:00:00 2001 From: forget Date: Tue, 2 Apr 2019 16:35:39 +0200 Subject: [PATCH] Script to convert accentuated letters to their non-accentuated equivalents. --- conv-accents.sh | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) create mode 100755 conv-accents.sh diff --git a/conv-accents.sh b/conv-accents.sh new file mode 100755 index 0000000..c96907e --- /dev/null +++ b/conv-accents.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +if [ $# -ne 1 ] +then echo "Usage: $0 /usr/share/dict/your_language (creates a local copy with accents converted)" +else iconv -f utf8 -t ascii//TRANSLIT $1 > `basename $1`-no-accents +fi -- libgit2 0.21.2