Return to cut.c CVS log | Up to [local] / src / usr.bin / cut |
version 1.5, 1997/11/05 00:18:44 | version 1.6, 1998/11/28 03:41:46 | ||
---|---|---|---|
|
|
||
* overlapping lists. We also handle "-3-5" although there's no | * overlapping lists. We also handle "-3-5" although there's no | ||
* real reason too. | * real reason too. | ||
*/ | */ | ||
for (; p = strtok(list, ", \t"); list = NULL) { | for (; p = strsep(&list, ", \t");) { | ||
setautostart = start = stop = 0; | setautostart = start = stop = 0; | ||
if (*p == '-') { | if (*p == '-') { | ||
++p; | ++p; |