strtok rewrite of id shell command handler