1: #include <stdio.h>
   2: PutUsage()
   3: {
   4:     fprintf(stderr,
   5:     "bm: search for a given string or strings in a file or files\n");
   6:     fprintf(stderr,
   7:     "synopsis: bm [option]* [string(s)] [file]*\n");
   8:     fprintf(stderr,
   9:     "options:\n");
  10:     fprintf(stderr,
  11:     "-c print only a count of matching lines \n");
  12:     fprintf(stderr,
  13:     "-e Take next argument as the pattern\n");
  14:     fprintf(stderr,
  15:     "-f PFile read patterns from a file PFile\n");
  16:     fprintf(stderr,
  17:     "-h Do not print file names\n");
  18:     fprintf(stderr,
  19:     "-l print a list of files containing the pattern(s) \n");
  20:     fprintf(stderr,
  21:     "-n print the character offset of the pattern(s) \n");
  22:     fprintf(stderr,
  23:     "-s silent mode. Return only success (0) or failure (1)\n");
  24:     fprintf(stderr,
  25:     "-x print only lines which match entirely \n");
  26: } /*PutUsage */

Defined functions

PutUsage defined in line 2; used 2 times
Last modified: 1985-09-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 885
Valid CSS Valid XHTML 1.0 Strict