extract_subst_tail
int extract_subst_tail(int *, int *);
if (!sflags && extract_subst_tail(&sgflag, &sgnum) < 0)