I have variables $a, $b, ... that I am trying to pass into a command in a script:
helm upgrade -f ./values.yaml /
--set db.auth_key=$a /
--set ...=$b /
... etc
If I echo $a
I get the string (a salt) *|T}pE%j?ZHl|4#JgyXoW^y fzmadUMZ=H;|2FU2*!o_{6JH^}zIDj^:=:x.VjA-
. The problem here is that I would need to escape a few characters, namely '|', '*', and '#' among others as it ruins my script if I don't. But as these salts are generated on the fly, I wouldn't know which characters to escape. How can I make bash render these as raw strings, "pre escaped" if you will?