I want to print double quotes using echo statement in shell programming.
Example:
echo \"$1,$2,$3,$4\";
prints
Use printf, no escaping is required:
printf
printf '"%s","%s","%s","%s";\n' $1 $2 $3 $4
and the trailing ; gets printed too!
;