Hi,
Can anyone help me to convert a parameter, supplied to a unix script, from lowercase to Initcap.
I tried using tr but could not get this done in a single command.
f.eg:
====
My shell script is test.com, I run this script with a parameter ...
$test.com diamond
The result I expect is Diamond
Pl. help.
Thanks.
Can anyone help me to convert a parameter, supplied to a unix script, from lowercase to Initcap.
I tried using tr but could not get this done in a single command.
f.eg:
====
My shell script is test.com, I run this script with a parameter ...
$test.com diamond
The result I expect is Diamond
Pl. help.
Thanks.