summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <patrick@lilt.com>2020-02-03 15:24:01 +0000
committerPatrick Simianer <patrick@lilt.com>2020-02-03 15:24:01 +0000
commit8a80dcf1353f93f8bfc9d5976c58861687add941 (patch)
tree8cdfcbfd1bdf0a520f37695954768158dcd1ccec
parent53c3d328dbe9a56b54f6d7dc51491ecf92081fef (diff)
print out all 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
+