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

Diff for /src/usr.bin/awk/lib.c between version 1.54 and 1.55

version 1.54, 2023/10/30 17:52:54 version 1.55, 2023/11/28 20:54:38
Line 396 
Line 396 
         i = 0;  /* number of fields accumulated here */          i = 0;  /* number of fields accumulated here */
         if (inputFS == NULL)    /* make sure we have a copy of FS */          if (inputFS == NULL)    /* make sure we have a copy of FS */
                 savefs();                  savefs();
         if (strlen(inputFS) > 1) {      /* it's a regular expression */          if (!CSV && strlen(inputFS) > 1) {      /* it's a regular expression */
                 i = refldbld(r, inputFS);                  i = refldbld(r, inputFS);
         } else if (!CSV && (sep = *inputFS) == ' ') {   /* default whitespace */          } else if (!CSV && (sep = *inputFS) == ' ') {   /* default whitespace */
                 for (i = 0; ; ) {                  for (i = 0; ; ) {

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55