How to Pass argument with double quotes?

by Nirmala 2010-01-25 15:51:08

Pass argument with double quotes
If you want to pass argument with double quotes just follow the below step
(*)Create file and type as echo $1
(*)Execute file as sh test.sh 'pp"'
Output
pp"

Other Method
Execute file as sh test.sh pp\"

Tagged in:

885
like
0
dislike
0
mail
flag

You must LOGIN to add comments