From db6a6ecfa350cae29739c59df1210d8f76a479c9 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Thu, 5 Dec 2013 07:56:38 +0100 Subject: init --- num_tok | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 num_tok (limited to 'num_tok') diff --git a/num_tok b/num_tok new file mode 100755 index 0000000..7cc500c --- /dev/null +++ b/num_tok @@ -0,0 +1,8 @@ +#!/usr/bin/env ruby1.9.1 + +STDIN.set_encoding('utf-8') + +while line = STDIN.gets + puts line.split.length +end + -- cgit v1.2.3