See: [Difference between single and double quotes in bash](http://stackoverflow.com/q/6697753/3776858)
– CyrusApr 08 '20 at 10:47
you also have to ensure that the values in those variables do not conflict with delimiter and you might have to escape metacharacters depending on your use case.. see the answer and links in https://stackoverflow.com/questions/7680504/sed-substitution-with-bash-variables
– SundeepApr 08 '20 at 10:58