changeset 1982:98e571aa567d

<ion> sed -i -re \'s,/ae\\|.*\\|\xc3\xb6\xc3\xa4/,/a[eoy\xc3\xa4\xc3\xb6]|e[ao\xc3\xa4\xc3\xb6]|i[ao\xc3\xa4\xc3\xb6]|o[aey\xc3\xa4\xc3\xb6]|u[aey\xc3\xa4\xc3\xb6]|y[aeou\xc3\xa4]|\xc3\xa4[aeou\xc3\xb6]|\xc3\xb6[aeou\xc3\xa4]/,\' bin/hyphenate.fi && cat bin/hyphenate.fi
author HackBot
date Sat, 02 Feb 2013 12:54:44 +0000
parents 40eae6a86714
children 21c353600d15
files bin/hyphenate.fi
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/hyphenate.fi	Sat Feb 02 12:12:10 2013 +0000
+++ b/bin/hyphenate.fi	Sat Feb 02 12:54:44 2013 +0000
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec perl -CS -Mutf8 -pwe 'my$vow=qr/[aeiouyäö]/i;my$con=qr/[bcdfghjklmnpqrstvwxz]/i;1while s/($vow$con*)($con$vow)/$1-$2/g;1while s/ae|ao|ay|aä|aö|ea|eo|eä|eö|ia|io|iä|iö|oa|oe|oy|oä|oö|ua|ue|uy|uä|uö|ya|ye|yo|yu|yä|äa|äe|äo|äu|äö|öa|öe|öo|öu|öä/my@s=split"",$&;$s[0]."-".$s[1]/egi'
+exec perl -CS -Mutf8 -pwe 'my$vow=qr/[aeiouyäö]/i;my$con=qr/[bcdfghjklmnpqrstvwxz]/i;1while s/($vow$con*)($con$vow)/$1-$2/g;1while s/a[eoyäö]|e[aoäö]|i[aoäö]|o[aeyäö]|u[aeyäö]|y[aeouä]|ä[aeouö]|ö[aeouä]/my@s=split"",$&;$s[0]."-".$s[1]/egi'