| 785 |
#endif |
#endif |
| 786 |
printf(" -help show usage information\n"); |
printf(" -help show usage information\n"); |
| 787 |
printf(" -i show information about compiled patterns\n" |
printf(" -i show information about compiled patterns\n" |
| 788 |
|
" -M find MATCH_LIMIT minimum for each subject\n" |
| 789 |
" -m output memory used information\n" |
" -m output memory used information\n" |
| 790 |
" -o <n> set size of offsets vector to <n>\n"); |
" -o <n> set size of offsets vector to <n>\n"); |
| 791 |
#if !defined NOPOSIX |
#if !defined NOPOSIX |
| 815 |
FILE *infile = stdin; |
FILE *infile = stdin; |
| 816 |
int options = 0; |
int options = 0; |
| 817 |
int study_options = 0; |
int study_options = 0; |
| 818 |
|
int default_find_match_limit = FALSE; |
| 819 |
int op = 1; |
int op = 1; |
| 820 |
int timeit = 0; |
int timeit = 0; |
| 821 |
int timeitm = 0; |
int timeitm = 0; |
| 875 |
else if (strcmp(argv[op], "-b") == 0) debug = 1; |
else if (strcmp(argv[op], "-b") == 0) debug = 1; |
| 876 |
else if (strcmp(argv[op], "-i") == 0) showinfo = 1; |
else if (strcmp(argv[op], "-i") == 0) showinfo = 1; |
| 877 |
else if (strcmp(argv[op], "-d") == 0) showinfo = debug = 1; |
else if (strcmp(argv[op], "-d") == 0) showinfo = debug = 1; |
| 878 |
|
else if (strcmp(argv[op], "-M") == 0) default_find_match_limit = TRUE; |
| 879 |
#if !defined NODFA |
#if !defined NODFA |
| 880 |
else if (strcmp(argv[op], "-dfa") == 0) all_use_dfa = 1; |
else if (strcmp(argv[op], "-dfa") == 0) all_use_dfa = 1; |
| 881 |
#endif |
#endif |
| 1712 |
int callout_data_set = 0; |
int callout_data_set = 0; |
| 1713 |
int count, c; |
int count, c; |
| 1714 |
int copystrings = 0; |
int copystrings = 0; |
| 1715 |
int find_match_limit = 0; |
int find_match_limit = default_find_match_limit; |
| 1716 |
int getstrings = 0; |
int getstrings = 0; |
| 1717 |
int getlist = 0; |
int getlist = 0; |
| 1718 |
int gmatched = 0; |
int gmatched = 0; |