From a2cfa36c8035c1589a325a397d72c4e0b5b71b67 Mon Sep 17 00:00:00 2001 From: Jonah Beckford Date: Sat, 22 Mar 2003 11:18:27 +0000 Subject: [PATCH] Solaris /usr/bin/tr does not accept ranges in form "a-z". So put in explicit abc...xyz range. Fixes "make check-gifplot" and whatever else might use 'Tools/capitalize'. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4615 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Tools/capitalize | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/capitalize b/Tools/capitalize index d49c088c9..a8330d167 100755 --- a/Tools/capitalize +++ b/Tools/capitalize @@ -1,5 +1,5 @@ #!/bin/sh # usage: capitalize word # write word to stdout w/ first character upcased -first_char=`echo $1 | sed 's/^\(.\).*/\1/' | tr a-z A-Z` +first_char=`echo $1 | sed 's/^\(.\).*/\1/' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ` echo ${first_char}`echo $1 | sed 's/^.//'`