summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfirst-upper10
-rwxr-xr-xis-first-lower (renamed from first-lower)0
2 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
+
diff --git a/first-lower b/is-first-lower
index 1cddb8e..1cddb8e 100755
--- a/first-lower
+++ b/is-first-lower