In shell, I'm running into the following problem and I'm trying to understand why it behaves this way.
sh-4.4# export VAR='--scan "**/*.jar"'
sh-4.4# set -x
sh-4.4# echo $VAR
+ echo --scan '"**/*.jar"' <--- this
--scan "**/*.jar"
For the executed command, why is there single quotes around the double quoted value?