• UNWILLING_PARTICIPANT@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    8 months ago

    Wut that is not even the case for Ubuntu. You’re probably thinking of dash example:

    sh -c '[[ true ]] && echo ya' 
    # sh: 1: [[: not found
    
    bash -c '[[ true ]] && echo ya' 
    # ya