- exitcode = fflg = oflg = 0;
- minlen = -1;
- while ((ch = getopt(argc, argv, "an:of")) > 0)
- switch(ch) {
- case 'a':
- break;
- case 'f':
- fflg = 1;
- break;
- case 'n':
- minlen = atoi(optarg);
- break;
- case 'o':
- oflg = 1;
- break;
- default:
- show_usage();
- }
+int strings_main(int argc, char **argv)
+{
+ int n, c, i = 0, status = EXIT_SUCCESS;
+ unsigned long opt;
+ unsigned long count;
+ FILE *file = stdin;
+ char *string;
+ const char *fmt = "%s: ";
+ char *n_arg = "4";
+
+ opt = bb_getopt_ulflags (argc, argv, "afon:", &n_arg);
+ /* -a is our default behaviour */
+