• UNWILLING_PARTICIPANT@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 year 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