From b31ace79ea5f6b3f279c544cd3a443d6fbf2a24d Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 26 Feb 2026 10:05:59 +0000 Subject: overhaul --- biuniq | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'biuniq') diff --git a/biuniq b/biuniq index b191ab0..9ad2d76 100755 --- a/biuniq +++ b/biuniq @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'zipf' +require "zipf" f1 = ReadFile.new ARGV[0] f2 = ReadFile.new ARGV[1] @@ -16,7 +16,7 @@ while line1 = f1.gets line2 = f2.gets if line2 == nil then line2 = "" end line2.strip! - + if !d1.include? line1 and !d2.include? line2 a1 << line1 a2 << line2 @@ -33,4 +33,3 @@ a1.each_with_index { |line1,i| o1.write line1 + "\n" o2.write a2[i] + "\n" } - -- cgit v1.2.3