1: /* global flags for bm */ 2: extern int cFlag, /* true if we want only a count of matching lines */ 3: eFlag, /* indicates that next argument is the pattern */ 4: fFlag, /* true if the patterns arew to come from a file */ 5: lFlag, /* true if we want a list of files containing the pattern */ 6: nFlag, /* true if we want the character offset of the pattern */ 7: sFlag, /* true if we want silent mode */ 8: xFlag, /* true if we want only lines which match entirely */ 9: hFlag, /* true if we want no filenames in output */ 10: 11: MatchCount; /* count of number of times a search string was found 12: * in the text */ 13: extern char *FileName;