summaryrefslogtreecommitdiff
path: root/first-upper
diff options
context:
space:
mode:
Diffstat (limited to 'first-upper')
-rwxr-xr-xfirst-upper10
1 files changed, 10 insertions, 0 deletions
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
+