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

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

version 1.6, 2001/09/30 07:17:03 version 1.7, 2001/11/02 19:41:06
Line 40 
Line 40 
   
 #include <sys/types.h>  #include <sys/types.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <ctype.h>  
 #include <stdio.h>  #include <stdio.h>
   #include <ctype.h>
   #include <err.h>
 #include "hexdump.h"  #include "hexdump.h"
   
 int deprecated;  int deprecated;
Line 131 
Line 132 
                 case 'w':                  case 'w':
                 case '?':                  case '?':
                 default:                  default:
                         (void)fprintf(stderr,                          warnx("od(1) has been deprecated for hexdump(1)");
                             "od: od(1) has been deprecated for hexdump(1).\n");  
                         if (ch != '?')                          if (ch != '?')
                                 (void)fprintf(stderr,                                  warnx("hexdump(1) compatibility doesn't"
 "od: hexdump(1) compatibility doesn't support the -%c option%s\n",                                      "support the -%c option%s",
                                     ch, ch == 's' ? "; see strings(1)." : ".");                                      ch, ch == 's' ? "; see strings(1)." : ".");
                         usage();                          usage();
                 }                  }

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