+ } else if (*cp == '#') {
+ /* optional numeric argument */
+ if (lcurrent->word->word[sp+1]) {
+ if (digit(lcurrent->word->word[sp+1])) {
+ list_optarg = lcurrent->word->word + sp + 1;
+ lcurrent = lcurrent->next;
+ } else
+ list_optarg = (char *)NULL;
+ } else {
+ if (lcurrent->next && legal_number(lcurrent->next->word->word, (long *)0)) {
+ lcurrent = lcurrent->next;
+ list_optarg = lcurrent->word->word;
+ lcurrent = lcurrent->next;
+ } else
+ list_optarg = (char *)NULL;
+ }
+