aboutsummaryrefslogtreecommitdiff
path: root/tolatin
diff options
context:
space:
mode:
Diffstat (limited to 'tolatin')
-rwxr-xr-xtolatin8
1 files changed, 8 insertions, 0 deletions
diff --git a/tolatin b/tolatin
new file mode 100755
index 0000000..44b04c1
--- /dev/null
+++ b/tolatin
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+case "$@" in
+ -u) PIPE="| unaccent utf8" ;;
+ *) ;;
+esac
+
+eval exec uconv -x Any-Latin $PIPE