# HG changeset patch # User HackBot # Date 1359809684 0 # Node ID 98e571aa567d5b1f8d5dd6295a44a2da2f2a186a # Parent 40eae6a8671456d1ce0f594e03bbd7e1a55d905a 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 diff -r 40eae6a86714 -r 98e571aa567d bin/hyphenate.fi --- 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'