How u convert string "hi pravin how are you?" to
"Hi Pravin How Are You?"
Answer Posted / padmakumar
The file "test" contains "hi pravin how are you?".
sed -e "s/^[a-z]/\U&/" -e "s/[[:space:]][a-z]/ \U&/g" test
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is a shell environment?
What are scripts in psychology?
How do I run a .sh file?
What is bash coding?
What are the zombie processes?
How do I run a bin bash script?
Explore about environment variables?
What is a beat in a script?
What will happen to my current process when I execute a command using exec?
What is console line?
Why is it called a shell?
How do I stop script errors?
How do I debug a shell script?
What is a boot block?
Where are cowrie shells found?