shell script check if second parameter exists