[BACK]Return to apropos.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Attic/apropos.c between version 1.21 and 1.23

version 1.21, 2011/11/28 09:44:05 version 1.23, 2011/12/07 16:08:55
Line 133  static int
Line 133  static int
 cmp(const void *p1, const void *p2)  cmp(const void *p1, const void *p2)
 {  {
   
         return(strcmp(((const struct res *)p1)->title,          return(strcasecmp(((const struct res *)p1)->title,
                                 ((const struct res *)p2)->title));                                  ((const struct res *)p2)->title));
 }  }
   
Line 142  usage(void)
Line 142  usage(void)
 {  {
   
         fprintf(stderr, "usage: %s "          fprintf(stderr, "usage: %s "
                         "[-M path] "                          "[-M manpath] "
                         "[-m path] "                          "[-m manpath] "
                         "[-S arch] "                          "[-S arch] "
                         "[-s section] "                          "[-s section] "
                         "expression...\n",                          "expression...\n",

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.23

CVSweb