main.c (ef646f18aa018c459c51c1b38dcbdac3422a97f3) main.c (dfab7fb13d3749bbdddd93aa5c6aa91428365867)
1/*-
2 * Copyright (c) 1990, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Cimarron D. Taylor of the University of California, Berkeley.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 149 unchanged lines hidden (view full) ---

158 err(1, ".");
159
160 exit(find_execute(find_formplan(argv), start));
161}
162
163static void
164usage(void)
165{
1/*-
2 * Copyright (c) 1990, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Cimarron D. Taylor of the University of California, Berkeley.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 149 unchanged lines hidden (view full) ---

158 err(1, ".");
159
160 exit(find_execute(find_formplan(argv), start));
161}
162
163static void
164usage(void)
165{
166 (void)fprintf(stderr,
167"usage: find [-H | -L | -P] [-EXdsx] [-f file] [file ...] [expression]\n");
166 (void)fprintf(stderr, "%s\n%s\n",
167"usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]",
168" find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]");
168 exit(1);
169}
169 exit(1);
170}