summaryrefslogtreecommitdiff
path: root/biuniq
diff options
context:
space:
mode:
authorPatrick Simianer <patrick@lilt.com>2026-02-26 10:05:59 +0000
committerPatrick Simianer <patrick@lilt.com>2026-02-26 10:05:59 +0000
commitb31ace79ea5f6b3f279c544cd3a443d6fbf2a24d (patch)
tree31f2b599fa5f6996aeb134390d58deb63eefe04a /biuniq
parent8805e95ae94d798c6441f7e1b72c90e049563f17 (diff)
overhaulHEADmaster
Diffstat (limited to 'biuniq')
-rwxr-xr-xbiuniq5
1 files changed, 2 insertions, 3 deletions
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"
}
-