• RazorsLedge@lemmy.world
    link
    fedilink
    arrow-up
    22
    ·
    edit-2
    1 year ago
    foo=ding
    foobar=dong
    
    echo \$foobar
    
    

    Brackets make it explicit what you’re trying to do. Do you want “dingbar” or do you want “dong”? I forget what the actual behavior is if you don’t use brackets here, because I always use brackets for this reason now