| 1341 | } |
| 1342 | |
| 1343 | static bool sh_in(const char *v, const char *const *set) { |
| 1344 | for (int i = 0; v && set[i]; i++) { |
| 1345 | if (strcmp(v, set[i]) == 0) { |
| 1346 | return true; |
| 1347 | } |
| 1348 | } |
| 1349 | return false; |
| 1350 | } |
| 1351 | |
| 1352 | static bool sh_numberish(const char *v) { |
| 1353 | if (!v[0] || v[0] < '0' || v[0] > '9') { |
no outgoing calls
no test coverage detected