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

Diff for /src/usr.bin/find/main.c between version 1.13 and 1.14

version 1.13, 2002/02/16 21:27:46 version 1.14, 2002/05/17 15:04:32
Line 83 
Line 83 
         sigaction(SIGINFO, &sa, NULL);          sigaction(SIGINFO, &sa, NULL);
   
         ftsoptions = FTS_NOSTAT|FTS_PHYSICAL;          ftsoptions = FTS_NOSTAT|FTS_PHYSICAL;
         while ((ch = getopt(argc, argv, "Hdf:hXxW")) != -1)          while ((ch = getopt(argc, argv, "Hdf:hLXxW")) != -1)
                 switch(ch) {                  switch(ch) {
                 case 'H':                  case 'H':
                         ftsoptions |= FTS_COMFOLLOW;                          ftsoptions |= FTS_COMFOLLOW;
Line 95 
Line 95 
                         *p++ = optarg;                          *p++ = optarg;
                         break;                          break;
                 case 'h':                  case 'h':
                   case 'L':
                         ftsoptions &= ~FTS_PHYSICAL;                          ftsoptions &= ~FTS_PHYSICAL;
                         ftsoptions |= FTS_LOGICAL;                          ftsoptions |= FTS_LOGICAL;
                         break;                          break;
Line 145 
Line 146 
 usage()  usage()
 {  {
         (void)fprintf(stderr,          (void)fprintf(stderr,
             "usage: find [-HdhXxW] [-f file] file [...] [expression]\n");              "usage: find [-dHhLXxW] [-f file] file [...] [expression]\n");
         exit(1);          exit(1);
 }  }

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14