From 68acbb9a0c7967cb90a7e3756fc94fdd8a73d154 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Wed, 29 Jan 2014 19:14:08 +0100
Subject: make use of nlp_ruby, LICENSE
---
min | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'min')
diff --git a/min b/min
index c2f85b9..398b0fb 100755
--- a/min
+++ b/min
@@ -1,9 +1,11 @@
#!/usr/bin/env ruby
+
min = 1.0/0
while line = STDIN.gets
- v = line.strip.to_f
- min = v if v < min
+ v = line.to_f
+ min = v if v