commit | 38b7ca49742d23aa076e4656226d3fa1f4e52ed7 | [log] [tgz] |
---|---|---|
author | vinayakb <vinayakb@eaa15691-b419-025a-1212-ee371bd00084> | Mon Mar 05 05:44:15 2012 +0000 |
committer | vinayakb <vinayakb@eaa15691-b419-025a-1212-ee371bd00084> | Mon Mar 05 05:44:15 2012 +0000 |
tree | e8b3a8565af025577b8d083cc245b8c817fe3745 |
Added asterix project git-svn-id: https://asterixdb.googlecode.com/svn/trunk/asterix@12 eaa15691-b419-025a-1212-ee371bd00084
diff --git a/asterix-tools/scripts/bash/upcase.sh b/asterix-tools/scripts/bash/upcase.sh new file mode 100644 index 0000000..1562771 --- /dev/null +++ b/asterix-tools/scripts/bash/upcase.sh
@@ -0,0 +1,6 @@ +#!/bin/bash + +while read line; do + for i in $line; do U=`echo -n "${i:0:1}" | tr "[:lower:]" "[:upper:]"`; echo -n "${U}${i:1} "; done + echo "" +done