summaryrefslogtreecommitdiff
path: root/chars
diff options
context:
space:
mode:
Diffstat (limited to 'chars')
-rwxr-xr-xchars10
1 files changed, 10 insertions, 0 deletions
diff --git a/chars b/chars
new file mode 100755
index 0000000..359c2ab
--- /dev/null
+++ b/chars
@@ -0,0 +1,10 @@
+#!/usr/bin/env ruby
+
+require 'zipf'
+
+while line = STDIN.gets
+ line.strip.each_char { |c|
+ puts c
+ }
+end
+