How u convert string "hi pravin how are you?" to
"Hi Pravin How Are You?"
Answer Posted / nachikethas
use a perl one liner like this
perl -e '$var="hi pravin how are you";@arr=split("
",$var);foreach $wrd(@arr){print ucfirst($wrd)." ";}'
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
What is the use of echo in shell script?
Is shell and terminal the same?
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
What is shell chemistry?
What is the conditional statement in shell scripting?
What is a boot block?
What is .sh file in mac?
What is another name for a bash shell script that you might see?
how will you find the total disk space used by a specific user?
Print the 10th line without using tail and head command.
Is powershell a language?
I want to connect to a remote server and execute some commands, how can I achieve this?
What is shell company all about?
What command needs to be used to take the backup?
What is c in shell script?