update swig on windows
This commit is contained in:
5
winx64/bin/swigwin-4.0.0/Tools/capitalize
Normal file
5
winx64/bin/swigwin-4.0.0/Tools/capitalize
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
# usage: capitalize word
|
||||
# write word to stdout w/ first character upcased
|
||||
first_char=`echo $1 | sed 's/^\(.\).*/\1/' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
|
||||
echo ${first_char}`echo $1 | sed 's/^.//'`
|
||||
Reference in New Issue
Block a user