if (*cp == '\"' || *cp == '\'') {
quot = *cp++;
end = strchr(cp, quot);
end = strrchr(cp, quot);
if (end == NULL) {
error("Unterminated quote");
goto fail;