Unifies usage of testing commands like [], test, and [[]] to just
use [] everywhere. This also improves compatibility, as [[]] is not
available in POSIX sh.
N.B.: the script uses #!/bin/sh, so using [[]] as before can cause crashes
if the system has a symlink sh -> dash. This could also be fixed by changing
the shebang to use bash instead.
Unifies usage of testing commands like
[]
,test
, and[[]]
to just use[]
everywhere. This also improves compatibility, as[[]]
is not available in POSIX sh.N.B.: the script uses
#!/bin/sh
, so using[[]]
as before can cause crashes if the system has a symlinksh -> dash
. This could also be fixed by changing the shebang to usebash
instead.