Pass argument with single quotes
by Nirmala[ Edit ] 2010-01-25 15:49:32
Pass argument with single quotes
If you want to pass argument with single 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\'