From 3562d3042ee2b95855e976870221a35a60001834 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Wed, 11 Apr 2018 13:15:03 +0000 Subject: first --- first-upper | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 first-upper (limited to 'first-upper') diff --git a/first-upper b/first-upper new file mode 100755 index 0000000..610e62c --- /dev/null +++ b/first-upper @@ -0,0 +1,10 @@ +#!/usr/bin/env ruby + +require 'zipf' + +while line = STDIN.gets + line.strip! + line[0] = line[0].upcase + puts line +end + -- cgit v1.2.3