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

Diff for /src/usr.bin/uniq/uniq.c between version 1.10 and 1.11

version 1.10, 2002/07/13 06:04:24 version 1.11, 2002/12/08 06:40:44
Line 78 
Line 78 
         char *prevline, *thisline, *p;          char *prevline, *thisline, *p;
   
         obsolete(argv);          obsolete(argv);
         while ((ch = getopt(argc, argv, "-cdf:s:u")) != -1)          while ((ch = getopt(argc, argv, "cdf:s:u")) != -1)
                 switch (ch) {                  switch (ch) {
                 case '-':  
                         --optind;  
                         goto done;  
                 case 'c':                  case 'c':
                         cflag = 1;                          cflag = 1;
                         break;                          break;
Line 107 
Line 104 
                         usage();                          usage();
         }          }
   
 done:   argc -= optind;          argc -= optind;
         argv +=optind;          argv +=optind;
   
         /* If no flags are set, default is -d -u. */          /* If no flags are set, default is -d -u. */

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11