diff options
Diffstat (limited to 'num-tok')
-rwxr-xr-x | num-tok | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#!/usr/bin/env ruby + +STDIN.set_encoding 'utf-8' +STDOUT.set_encoding 'utf-8' + +while line = STDIN.gets + puts line.strip.split.length +end + |