How u convert string "hi pravin how are you?" to
"Hi Pravin How Are You?"
Answer Posted / sonia
Use perl :-)
msg="hi praveen how are you"
msg=`echo $msg | perl -n -e 'print ucfirst(lc);'`
| Is This Answer Correct ? | 4 Yes | 10 No |
Post New Answer View All Answers
c program to display the information of given file similar to givan by the unix or linux command ls -l
How will you connect to a database server from linux?
how to get part of string variable with echo command only?
What language is shell scripting?
Why do we write bin bash in shell scripts?
What is difference between bash and shell?
What is a batch file used for?
What is the fastest scripting language?
How to print all array elements and their respective indexes?
What is the crontab?
What are the types of script?
How will you copy a file from one machine to other?
What is the command to find out today's date?
How do I save a powershell script?
Where are cowrie shells found?