From b31ace79ea5f6b3f279c544cd3a443d6fbf2a24d Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 26 Feb 2026 10:05:59 +0000 Subject: overhaul --- subtract | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 subtract (limited to 'subtract') diff --git a/subtract b/subtract new file mode 100755 index 0000000..ecd6c11 --- /dev/null +++ b/subtract @@ -0,0 +1,12 @@ +#!/usr/bin/env ruby + +require "zipf" + +f = ReadFile.new ARGV[0] +g = ReadFile.new ARGV[1] + +while line1 = f.gets + line2 = g.gets + d = line1.to_f - line2.to_f + puts d +end -- cgit v1.2.3