Gamma@programming.devM to Shell Scripting@programming.dev • 1 year agoHow do you shell expand your variables and why?imagemessage-square3 fedilinkarrow-up13file-text
arrow-up13imageHow do you shell expand your variables and why?Gamma@programming.devM to Shell Scripting@programming.dev • 1 year agomessage-square3 Commentsfedilinkfile-text
minus-squaretxtsd@programming.devhexbear2·1 year 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.