From b31ace79ea5f6b3f279c544cd3a443d6fbf2a24d Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 26 Feb 2026 10:05:59 +0000 Subject: overhaul --- rule-shapes | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'rule-shapes') diff --git a/rule-shapes b/rule-shapes index 589a670..91f8092 100755 --- a/rule-shapes +++ b/rule-shapes @@ -1,7 +1,7 @@ #!/usr/bin/env ruby -STDIN.set_encoding 'utf-8' -STDOUT.set_encoding 'utf-8' +STDIN.set_encoding "utf-8" +STDOUT.set_encoding "utf-8" def shape s res = [] @@ -24,6 +24,5 @@ end while line = STDIN.gets f, e = line.split(/\t/) f.strip!; e.strip! - puts shape(f).join('_')+"-"+shape(e).join('_') + puts shape(f).join("_")+"-"+shape(e).join("_") end - -- cgit v1.2.3