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

Diff for /src/usr.bin/tr/tr.c between version 1.6 and 1.7

version 1.6, 2001/11/19 19:02:17 version 1.7, 2002/02/09 02:03:28
Line 209 
Line 209 
                 errx(1, "empty string2");                  errx(1, "empty string2");
   
         /* If string2 runs out of characters, use the last one specified. */          /* If string2 runs out of characters, use the last one specified. */
           ch = s2.lastch;
         if (sflag)          if (sflag)
                 while (next(&s1)) {                  while (next(&s1)) {
                         string1[s1.lastch] = ch = s2.lastch;                          string1[s1.lastch] = ch = s2.lastch;

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