Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What language is bash?

964


What are the different types of shell scripting?

1175


How do I run a .sh file on mac?

1253


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.

2711


Why do we write bin bash in shell scripts?

1060


How to calculate the number of passed arguments?

1173


How to write a function?

1073


How do you know which shell I am using?

1092


Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.

1220


How can I set the default rwx permission to all users on every file which is created in the current shell?

1476


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

5491


What is a shell in operating system?

1157


Is powershell a bash?

1132


What does debug script mean?

1020


Explain about the slow execution speed of shells?

1275