I want to print a string wrapped in '{}'
VAR='something,somethingelse'
$BIN $OPTIONS --ignore-table={$VAR} $DB
Which produces:
+ /bin/mysqldump --all-databases '--ignore-table={something,somethingelse}' mydatabase
Why is the --ignore-table parameter being quoted and how can I get it so mysqldump can handle it?
Thanks for the help!