I want to add double quotes around my variable string, any advice on how I adapt my code? Simple example below
#!/bin/bash variable="variable" echo $variable
I'd like to see the output as
"variable"
Escape the quotes:
echo \"$variable\"