is a string entirely whitespace? */
| 416 | |
| 417 | /* is a string entirely whitespace? */ |
| 418 | boolean |
| 419 | onlyspace(const char *s) |
| 420 | { |
| 421 | for (; *s; s++) |
| 422 | if (*s != ' ' && *s != '\t') |
| 423 | return FALSE; |
| 424 | return TRUE; |
| 425 | } |
| 426 | |
| 427 | /* expand tabs into proper number of spaces (in place) */ |
| 428 | char * |