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 language is bash?
What are the different types of shell scripting?
How do I run a .sh file on mac?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
Why do we write bin bash in shell scripts?
How to calculate the number of passed arguments?
How to write a function?
How do you know which shell I am using?
Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.
How can I set the default rwx permission to all users on every file which is created in the current shell?
c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command
What is a shell in operating system?
Is powershell a bash?
What does debug script mean?
Explain about the slow execution speed of shells?