summaryrefslogtreecommitdiff
path: root/no-empty
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 /no-empty
parent8805e95ae94d798c6441f7e1b72c90e049563f17 (diff)
overhaulHEADmaster
Diffstat (limited to 'no-empty')
-rwxr-xr-xno-empty5
1 files changed, 2 insertions, 3 deletions
diff --git a/no-empty b/no-empty
index da57e23..5a05fc1 100755
--- a/no-empty
+++ b/no-empty
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-require 'zipf'
+require "zipf"
files = []
(0..1).each { |i| files << ReadFile.new(ARGV[i]) }
@@ -9,10 +9,9 @@ files = []
while line_f = files[0].gets
line_e = files[1].gets
line_f.strip!; line_e.strip!
- next if line_f=='' || line_e==''
+ next if line_f=="" || line_e==""
files[2].write line_f+"\n"
files[3].write line_e+"\n"
end
files.each { |f| f.close }
-