> strncmp(arg, str, sizeof(str)-1) looks ugly. Am I expected to accept that as an axiom? IMO, your strstr wrapper is much uglier, in addition to being needlessly complex. --Juan