diff options
Diffstat (limited to 'div')
-rwxr-xr-x | div | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#!/usr/bin/env ruby + +factor = ARGV[0].to_f +exit if factor==0 +while line = STDIN.gets + puts line.to_f / factor +end + |
index : nlp_scripts | ||
Mirror of https://github.com/pks/nlp_scripts.git |
summaryrefslogtreecommitdiff |