Shell-script - Pass argument with double quotes, Bash script - How to pass argument with quotes
Pass argument with double quotes
Pass argument with double quotes
If you want to pass argument with double quotes just follow the below step
Create file as hello.sh and type as echo $1 Execute file as sh test.sh 'pp"'
Output
pp"
Other way to Pass argument with double quotes is
Execute file as
sh hello.sh pp\"Execute file as above to pass the argument with double quote.
Pass argument with single quote
The topic on Shell-script - Pass argument with double quotes is posted by - Mylove
Hope you have enjoyed, Shell-script - Pass argument with double quotesThanks for your time