[BACK]Return to cut.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cut

Diff for /src/usr.bin/cut/cut.c between version 1.5 and 1.6

version 1.5, 1997/11/05 00:18:44 version 1.6, 1998/11/28 03:41:46
Line 153 
Line 153 
          * 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;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6