Skip to content
  • Eli Schwartz's avatar
    Use more bashisms · b61a7148
    Eli Schwartz authored
    Fix numerous instances of POSIX `[ ... ]`, including reliance on ugly
    deprecated constructs like POSIX `-a`. Since we require bash regardless,
    it makes sense to take full advantage of it.
    
    bash `[[ ... ]]` does not require quoting variables as the shell
    natively recognizes them as variables rather than expanded strings.
    
    Use shell arithmetic rather than test, when checking numerical values.
    b61a7148