From 8a80dcf1353f93f8bfc9d5976c58861687add941 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Mon, 3 Feb 2020 15:24:01 +0000 Subject: print out all chars --- chars | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 chars 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 + -- cgit v1.2.3