Add double-quotes around all expr(1) left-hand-sides where the argument is just a variable, to prevent syntax errors when the variable is empty. Also avoid the `expr match ...` variant as this is not defined in POSIX and causes errors in some implementations, including FreeBSD's.
16 KiB
Executable File
16 KiB
Executable File