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

Diff for /src/usr.bin/what/what.c between version 1.3 and 1.4

version 1.3, 1996/06/26 06:40:11 version 1.4, 1996/06/26 07:08:36
Line 95 
Line 95 
                         for (i = 0; match[i]; i++)                          for (i = 0; match[i]; i++)
                                 if ((c = getchar()) != match[i])                                  if ((c = getchar()) != match[i])
                                         goto loop;                                          goto loop;
                         printf("$%s", match);                          printf("\t$%s", match);
                         while (isprint(c = getchar()))                          while (isprint(c = getchar()))
                                 putchar(c);                                  putchar(c);
                         putchar('\n');                          putchar('\n');

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4