aboutsummaryrefslogtreecommitdiff
path: root/bin/capitalize
diff options
context:
space:
mode:
Diffstat (limited to 'bin/capitalize')
-rwxr-xr-xbin/capitalize2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/capitalize b/bin/capitalize
new file mode 100755
index 0000000..58b338b
--- /dev/null
+++ b/bin/capitalize
@@ -0,0 +1,2 @@
+#!/bin/rc
+awk '{for(i=1;i<=NF;i++)sub(/./,toupper(substr($i,1,1)),$i)}1'