getshareopt
char *getshareopt(char *, char *);
if ((val = getshareopt(sh->sh_opts, SHOPT_NOSUB)) != NULL) {