• Fmstrat@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 day ago

    Partly right in bash:

    set -e; echo 1; echo 2;
    

    is the same as

    echo 1 && echo 2
    

    So if you see the -e in a script, it’s to keep the function clean.