shell: Accept int values also in hexadecimal, octal and binary notation