zephyr@lemmy.world to Programming@programming.dev · 1 year agoHow do you shell expand your variables and why?lemmy.worldimagemessage-square13fedilinkarrow-up11arrow-down10cross-posted to: shell@programming.dev
arrow-up11arrow-down1imageHow do you shell expand your variables and why?lemmy.worldzephyr@lemmy.world to Programming@programming.dev · 1 year agomessage-square13fedilinkcross-posted to: shell@programming.dev
minus-squarebloopernova@programming.devlinkfedilinkEnglisharrow-up1·edit-21 year agoThis is the best way. It’s also the way the Shellcheck wants sometimes recommends.
minus-squareGamma@programming.devlinkfedilinkEnglisharrow-up1·edit-21 year agoThis isn’t true. Shellcheck doesn’t insist on braces unless it thinks you need them.
This is the best way. It’s also the way the Shellcheck
wantssometimes recommends.This isn’t true. Shellcheck doesn’t insist on braces unless it thinks you need them.