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
How do I read a .sh file?
What language is used in terminal?
What are the various stages of a linux process it passes through?
Is shell scripting a programming language?
Why is it called a shell?
How many fields are present in a crontab file and what does each field specify?
What is the use of "$#" in shell scripting?
What is meant by dos operating system?
Explore about environment variables?
What does $$ mean in shell script?
What is bash command used for?
How will you print the login names of all users on a system?
what is tickets $ what low,medium,high priorite pls define time also
How do I run a shell script on a mac?
What are the zombie processes?