I am trying to construct a command(using args) that will be executed when called with eval and it looks as follows
cmd=$'dbconn -tabs testdb dev "INSERT INTO dataset(\'id\', \'description\', \'source_table\', \'class_id\') VALUES(\'1\', \'data\', \'testd\', \'income\')"'
How can i print the output without the char like \ and sometimes "$" for verification
expected output
dbconn -tabs testdb dev "INSERT INTO dataset('id', 'description', 'source_table', 'class_id') VALUES('1', 'data', 'testd', 'income')"