missing arguments showing the following bash error:
> /usr/local/bin/ws_extend
/usr/local/bin/ws_extend: line 8: [: too many arguments
Usage: ws_extend [-F filesystem] workspace days
line 8: if [ $# -eq 4 -a $1 = "-F" ]
I'm not sure why this error happens, because the $# is 0 and the second condition should not be evaluated...
Maybe splitting both tests in two if-clauses would be an easy fix
missing arguments showing the following bash error:
I'm not sure why this error happens, because the $# is 0 and the second condition should not be evaluated... Maybe splitting both tests in two if-clauses would be an easy fix