]> gitweb.pimeys.fr Git - scripts-20-100.git/blobdiff - utf8.sh
shortcut pour iconv
[scripts-20-100.git] / utf8.sh
diff --git a/utf8.sh b/utf8.sh
new file mode 100755 (executable)
index 0000000..7fb50fb
--- /dev/null
+++ b/utf8.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# Pour convertir un fichier d'ISO vers UTF-8
+
+file=$1
+
+iconv -f iso8859-1 "${file}" | sponge "${file}"