| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: find.1,v 1.89 2017/07/03 21:34:57 wiz Exp $ | | 1 | .\" $NetBSD: find.1,v 1.90 2020/11/01 16:34:02 kim Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1990, 1993 | | 3 | .\" Copyright (c) 1990, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | | 4 | .\" The Regents of the University of California. All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" This code is derived from software contributed to Berkeley by | | 6 | .\" This code is derived from software contributed to Berkeley by |
7 | .\" the Institute of Electrical and Electronics Engineers, Inc. | | 7 | .\" the Institute of Electrical and Electronics Engineers, Inc. |
8 | .\" | | 8 | .\" |
9 | .\" Redistribution and use in source and binary forms, with or without | | 9 | .\" Redistribution and use in source and binary forms, with or without |
10 | .\" modification, are permitted provided that the following conditions | | 10 | .\" modification, are permitted provided that the following conditions |
11 | .\" are met: | | 11 | .\" are met: |
12 | .\" 1. Redistributions of source code must retain the above copyright | | 12 | .\" 1. Redistributions of source code must retain the above copyright |
13 | .\" notice, this list of conditions and the following disclaimer. | | 13 | .\" notice, this list of conditions and the following disclaimer. |
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 14 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| @@ -729,26 +729,27 @@ device ID | | | @@ -729,26 +729,27 @@ device ID |
729 | .Va ( st_dev , | | 729 | .Va ( st_dev , |
730 | see | | 730 | see |
731 | .Xr stat 2 | | 731 | .Xr stat 2 |
732 | S5.6.2 [POSIX.1]). | | 732 | S5.6.2 [POSIX.1]). |
733 | .El | | 733 | .El |
734 | .Sh OPERATORS | | 734 | .Sh OPERATORS |
735 | The primaries may be combined using the following operators. | | 735 | The primaries may be combined using the following operators. |
736 | The operators are listed in order of decreasing precedence. | | 736 | The operators are listed in order of decreasing precedence. |
737 | .Bl -tag -width (expression) | | 737 | .Bl -tag -width (expression) |
738 | .It Cm \&( Ar expression Cm \&) | | 738 | .It Cm \&( Ar expression Cm \&) |
739 | This evaluates to true if the parenthesized expression evaluates to | | 739 | This evaluates to true if the parenthesized expression evaluates to |
740 | true. | | 740 | true. |
741 | .It Cm \&! Ar expression | | 741 | .It Cm \&! Ar expression |
| | | 742 | .It Cm -not Ar expression |
742 | This is the unary | | 743 | This is the unary |
743 | .Tn NOT | | 744 | .Tn NOT |
744 | operator. | | 745 | operator. |
745 | It evaluates to true if the expression is false. | | 746 | It evaluates to true if the expression is false. |
746 | .It Ar expression Cm -and Ar expression | | 747 | .It Ar expression Cm -and Ar expression |
747 | .It Ar expression expression | | 748 | .It Ar expression expression |
748 | The | | 749 | The |
749 | .Cm -and | | 750 | .Cm -and |
750 | operator is the logical | | 751 | operator is the logical |
751 | .Tn AND | | 752 | .Tn AND |
752 | operator. | | 753 | operator. |
753 | As it is implied by the juxtaposition of two expressions it does not | | 754 | As it is implied by the juxtaposition of two expressions it does not |
754 | have to be specified. | | 755 | have to be specified. |
| @@ -836,54 +837,56 @@ Perform an arbitrarily complex shell com | | | @@ -836,54 +837,56 @@ Perform an arbitrarily complex shell com |
836 | .Xr getgrent 3 , | | 837 | .Xr getgrent 3 , |
837 | .Xr getpwent 3 , | | 838 | .Xr getpwent 3 , |
838 | .Xr strmode 3 , | | 839 | .Xr strmode 3 , |
839 | .Xr re_format 7 , | | 840 | .Xr re_format 7 , |
840 | .Xr symlink 7 , | | 841 | .Xr symlink 7 , |
841 | .Xr sysctl 8 | | 842 | .Xr sysctl 8 |
842 | .Sh STANDARDS | | 843 | .Sh STANDARDS |
843 | The | | 844 | The |
844 | .Nm | | 845 | .Nm |
845 | utility syntax is a superset of the syntax specified by the | | 846 | utility syntax is a superset of the syntax specified by the |
846 | .St -p1003.2 | | 847 | .St -p1003.2 |
847 | standard. | | 848 | standard. |
848 | .Pp | | 849 | .Pp |
849 | The options and the | | 850 | The options, the |
850 | .Ic -amin , | | 851 | .Ic -amin , |
851 | .Ic -anewer , | | 852 | .Ic -anewer , |
852 | .Ic -asince , | | 853 | .Ic -asince , |
853 | .Ic -cmin , | | 854 | .Ic -cmin , |
854 | .Ic -cnewer , | | 855 | .Ic -cnewer , |
855 | .Ic -csince , | | 856 | .Ic -csince , |
856 | .Ic -delete , | | 857 | .Ic -delete , |
857 | .Ic -empty , | | 858 | .Ic -empty , |
858 | .Ic -execdir , | | 859 | .Ic -execdir , |
859 | .Ic -follow , | | 860 | .Ic -follow , |
860 | .Ic -fstype , | | 861 | .Ic -fstype , |
861 | .Ic -iname , | | 862 | .Ic -iname , |
862 | .Ic -inum , | | 863 | .Ic -inum , |
863 | .Ic -iregex , | | 864 | .Ic -iregex , |
864 | .Ic -links , | | 865 | .Ic -links , |
865 | .Ic -ls , | | 866 | .Ic -ls , |
866 | .Ic -maxdepth , | | 867 | .Ic -maxdepth , |
867 | .Ic -mindepth , | | 868 | .Ic -mindepth , |
868 | .Ic -mmin , | | 869 | .Ic -mmin , |
869 | .Ic -path , | | 870 | .Ic -path , |
870 | .Ic -print0 , | | 871 | .Ic -print0 , |
871 | .Ic -printx , | | 872 | .Ic -printx , |
872 | .Ic -regex , | | 873 | .Ic -regex , |
873 | .Ic -rm , | | 874 | .Ic -rm , |
874 | and | | 875 | and |
875 | .Ic -since | | 876 | .Ic -since |
876 | primaries are extensions to | | 877 | primaries, and the |
| | | 878 | .Ic -not |
| | | 879 | operator are extensions to |
877 | .St -p1003.2 . | | 880 | .St -p1003.2 . |
878 | .Pp | | 881 | .Pp |
879 | Historically, the | | 882 | Historically, the |
880 | .Fl d , | | 883 | .Fl d , |
881 | .Fl h , | | 884 | .Fl h , |
882 | and | | 885 | and |
883 | .Fl x | | 886 | .Fl x |
884 | options were implemented using the primaries | | 887 | options were implemented using the primaries |
885 | .Dq Ic -depth , | | 888 | .Dq Ic -depth , |
886 | .Dq Ic -follow , | | 889 | .Dq Ic -follow , |
887 | and | | 890 | and |
888 | .Dq Ic -xdev . | | 891 | .Dq Ic -xdev . |
889 | These primaries always evaluated to true, and always | | 892 | These primaries always evaluated to true, and always |