aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-02-09 22:29:40 -0500
committerB. Watson <urchlay@slackware.uk>2025-02-09 22:29:40 -0500
commitac606a0509f82cfed713b41129b1e3fe1597ce83 (patch)
tree4855b1e0bcbed592e8d202054e899278b932b616
parent4aa278653617375ab977c4848f29964e7ad2b8af (diff)
downloadmisc-scripts-ac606a0509f82cfed713b41129b1e3fe1597ce83.tar.gz
tolatin: added.
-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