312 |
{ |
{ |
313 |
const struct built_in_command *x; |
const struct built_in_command *x; |
314 |
|
|
315 |
printf("\nBuilt-in commands:\n" |
printf( |
316 |
"-------------------\n"); |
"Built-in commands:\n" |
317 |
|
"------------------\n"); |
318 |
for (x = bltins; x <= &VEC_LAST(bltins); x++) { |
for (x = bltins; x <= &VEC_LAST(bltins); x++) { |
319 |
if (x->descr == NULL) |
if (x->descr == NULL) |
320 |
continue; |
continue; |
697 |
|
|
698 |
/* Find the end of any whitespace trailing behind |
/* Find the end of any whitespace trailing behind |
699 |
* the token and let that be part of the token */ |
* the token and let that be part of the token */ |
700 |
while (string[*ix] && (isspace)(string[*ix]) ) { |
while (string[*ix] && isspace(string[*ix])) { |
701 |
(*ix)++; |
(*ix)++; |
702 |
} |
} |
703 |
|
|
841 |
num_skip_chars = 1; |
num_skip_chars = 1; |
842 |
} else { |
} else { |
843 |
src = dst + 1; |
src = dst + 1; |
844 |
while ((isalnum)(*src) || *src == '_') src++; |
while (isalnum(*src) || *src == '_') src++; |
845 |
} |
} |
846 |
if (src == NULL) { |
if (src == NULL) { |
847 |
src = dst+dstlen; |
src = dst+dstlen; |