• mumblerfish@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    Is there not also a way to disallow empty variables in the script, I think it is set -u? Then you don’t have to keep thinking “should I add a :? here because if empty it may lead to disaster” all the time. Might be even safer.