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

Diff for /src/usr.bin/sort/sort.c between version 1.25 and 1.26

version 1.25, 2005/04/11 21:04:48 version 1.26, 2005/09/27 23:40:07
Line 125 
Line 125 
         fixit(&argc, argv);          fixit(&argc, argv);
         if (!issetugid() && (outfile = getenv("TMPDIR")))          if (!issetugid() && (outfile = getenv("TMPDIR")))
                 tmpdir = outfile;                  tmpdir = outfile;
         while ((ch = getopt(argc, argv, "bcdfik:mHno:rR:t:T:uy:")) != -1) {          while ((ch = getopt(argc, argv, "bcdfik:mHno:rR:t:T:uy:z")) != -1) {
                 switch (ch) {                  switch (ch) {
                 case 'b': fldtab->flags |= BI | BT;                  case 'b': fldtab->flags |= BI | BT;
                         break;                          break;
Line 185 
Line 185 
                 case 'y':                  case 'y':
                         /* accept -y for backwards compat. */                          /* accept -y for backwards compat. */
                         break;                          break;
                   case 'z':
                           if (REC_D != '\n')
                                   usage("multiple record delimiters");
                           REC_D = '\0';
                           d_mask['\n'] = d_mask[' '];
                           d_mask[REC_D] = REC_D_F;
                           break;
                 case '?':                  case '?':
                 default:                  default:
                         usage(NULL);                          usage(NULL);
Line 328 
Line 335 
   
         if (msg != NULL)          if (msg != NULL)
                 warnx("%s", msg);                  warnx("%s", msg);
         (void)fprintf(stderr, "usage: %s [-T dir] [-o output] [-cmubdfinrH] "          (void)fprintf(stderr, "usage: %s [-T dir] [-o output] [-cmubdfinrHz] "
             "[-t char] [-R char] [-k keydef] ... [files]\n", __progname);              "[-t char] [-R char] [-k keydef] ... [files]\n", __progname);
         exit(2);          exit(2);
 }  }

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26