minus-squaretxtsd@programming.devtoShell Scripting@programming.dev•How do you shell expand your variables and why?linkfedilinkEnglisharrow-up2·10 months agoI always brace my variables. While I also use ZSH, I write most of my scripts in bash because they more often than not need to run on a CI/CD server. linkfedilink
I always brace my variables.
While I also use ZSH, I write most of my scripts in bash because they more often than not need to run on a CI/CD server.