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
What is subshell?
How to calculate the number of passed arguments?
is this growing field and what is average package in this?
How will you copy a file from one machine to other?
What are the different types of variables used in shell script?
What is meant by $1 in shell script?
Is shell a scripting language?
What are scripts in psychology?
Write the syntax for "if" conditionals in linux?
Is bash an operating system?
i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..
Please give me example of " at command , contrab command " how to use
What does $$ mean in shell script?
What are the different commands available to check the disk usage?
What is difference between bash and shell?