option.c (127d7563c4779d9be231b4657388dd55622139a4) option.c (3f5223f84ac91b218fb0544edf5e914e339023b3)
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

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

53
54/* NB: the following table must be sorted lexically. */
55static OPTION const options[] = {
56 { "!", N_NOT, c_not, O_ZERO },
57 { "(", N_OPENPAREN, c_openparen, O_ZERO },
58 { ")", N_CLOSEPAREN, c_closeparen, O_ZERO },
59 { "-a", N_AND, NULL, O_NONE },
60 { "-and", N_AND, NULL, O_NONE },
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

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

53
54/* NB: the following table must be sorted lexically. */
55static OPTION const options[] = {
56 { "!", N_NOT, c_not, O_ZERO },
57 { "(", N_OPENPAREN, c_openparen, O_ZERO },
58 { ")", N_CLOSEPAREN, c_closeparen, O_ZERO },
59 { "-a", N_AND, NULL, O_NONE },
60 { "-and", N_AND, NULL, O_NONE },
61 { "-amin", N_AMIN, c_amin, O_ARGV },
61 { "-atime", N_ATIME, c_atime, O_ARGV },
62 { "-atime", N_ATIME, c_atime, O_ARGV },
63 { "-cmin", N_CMIN, c_cmin, O_ARGV },
62 { "-ctime", N_CTIME, c_ctime, O_ARGV },
63 { "-delete", N_DELETE, c_delete, O_ZERO },
64 { "-depth", N_DEPTH, c_depth, O_ZERO },
65 { "-exec", N_EXEC, c_exec, O_ARGVP },
66 { "-execdir", N_EXECDIR, c_execdir, O_ARGVP },
67 { "-follow", N_FOLLOW, c_follow, O_ZERO },
68 { "-fstype", N_FSTYPE, c_fstype, O_ARGV },
69 { "-group", N_GROUP, c_group, O_ARGV },
70 { "-inum", N_INUM, c_inum, O_ARGV },
71 { "-links", N_LINKS, c_links, O_ARGV },
72 { "-ls", N_LS, c_ls, O_ZERO },
64 { "-ctime", N_CTIME, c_ctime, O_ARGV },
65 { "-delete", N_DELETE, c_delete, O_ZERO },
66 { "-depth", N_DEPTH, c_depth, O_ZERO },
67 { "-exec", N_EXEC, c_exec, O_ARGVP },
68 { "-execdir", N_EXECDIR, c_execdir, O_ARGVP },
69 { "-follow", N_FOLLOW, c_follow, O_ZERO },
70 { "-fstype", N_FSTYPE, c_fstype, O_ARGV },
71 { "-group", N_GROUP, c_group, O_ARGV },
72 { "-inum", N_INUM, c_inum, O_ARGV },
73 { "-links", N_LINKS, c_links, O_ARGV },
74 { "-ls", N_LS, c_ls, O_ZERO },
75 { "-mmin", N_MMIN, c_mmin, O_ARGV },
73 { "-mtime", N_MTIME, c_mtime, O_ARGV },
74 { "-name", N_NAME, c_name, O_ARGV },
75 { "-newer", N_NEWER, c_newer, O_ARGV },
76 { "-nogroup", N_NOGROUP, c_nogroup, O_ZERO },
77 { "-nouser", N_NOUSER, c_nouser, O_ZERO },
78 { "-o", N_OR, c_or, O_ZERO },
79 { "-ok", N_OK, c_exec, O_ARGVP },
80 { "-or", N_OR, c_or, O_ZERO },

--- 73 unchanged lines hidden ---
76 { "-mtime", N_MTIME, c_mtime, O_ARGV },
77 { "-name", N_NAME, c_name, O_ARGV },
78 { "-newer", N_NEWER, c_newer, O_ARGV },
79 { "-nogroup", N_NOGROUP, c_nogroup, O_ZERO },
80 { "-nouser", N_NOUSER, c_nouser, O_ZERO },
81 { "-o", N_OR, c_or, O_ZERO },
82 { "-ok", N_OK, c_exec, O_ARGVP },
83 { "-or", N_OR, c_or, O_ZERO },

--- 73 unchanged lines hidden ---