Up to [local] / src / usr.bin / find
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.22 / (download) - annotate - [select for diffs], Tue Jan 3 21:31:16 2017 UTC (7 years, 5 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1,
HEAD
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored) to selected 1.12 (colored)
add -delete option which can simplify the common case of wanting to delete lots of files without the arcane -exec or error prone xargs. code from freebsd. ok millert
Revision 1.21 / (download) - annotate - [select for diffs], Mon Oct 5 15:25:16 2015 UTC (8 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored) to selected 1.12 (colored)
If expression omits -exec/execdir/-ok primaries, then find will never enter the fork+execve codepath. That allows use of "stdio getpw rpath"! Use of -exec methods have been discouraged for years anyways, with -print0/xargs -0 now considered safer practice. ok guenther millert
Revision 1.20 / (download) - annotate - [select for diffs], Mon Jan 19 15:30:52 2015 UTC (9 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.19: +1 -1 lines
Diff to previous 1.19 (colored) to selected 1.12 (colored)
Make some $OpenBSD$ lines prettier/standardier by eliminating superflous '*' after '/*' and adding blank after terminating '$'. Also eases parsing of the lines by simple awk scripts. Aesthetic approval from tedu@.
Revision 1.19 / (download) - annotate - [select for diffs], Sun May 18 08:10:00 2014 UTC (10 years ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored) to selected 1.12 (colored)
use reallocarray okay chl@, tedu@
Revision 1.18 / (download) - annotate - [select for diffs], Wed Dec 5 23:20:25 2012 UTC (11 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3
Changes since 1.17: +1 -3 lines
Diff to previous 1.17 (colored) to selected 1.12 (colored)
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
Revision 1.17 / (download) - annotate - [select for diffs], Mon Jan 2 23:19:45 2012 UTC (12 years, 5 months ago) by pascal
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored) to selected 1.12 (colored)
Add support for "find ... -exec foo {} \+". From the manpage: If terminated by a plus sign (``+''), the pathnames for which the primary is evaluated are aggregated into sets, and utility will be invoked once per set, similar to xargs(1). If any invocation exits with non-zero exit status, then find will eventually do so as well, but this does not cause find to exit early. The string ``{}'' must appear, and must appear last. Each set is limited to no more than 5,000 pathnames, and is also limited such that the invocation of utility does not exceed ARG_MAX. Code comes from NetBSD, written by John Hawkinson. Tested by eivinde at terraplane dot org and myself for quite some time. ok miod@
Revision 1.16 / (download) - annotate - [select for diffs], Thu Apr 21 01:14:21 2011 UTC (13 years, 1 month ago) by jacekm
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.12 (colored)
find: return exit code 1 if any path could not be traversed matches posix and the manual, ok millert
Revision 1.15 / (download) - annotate - [select for diffs], Wed Sep 15 18:43:45 2004 UTC (19 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0,
OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.12 (colored)
remove unused variable
Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 26 07:27:29 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE,
OPENBSD_3_6,
OPENBSD_3_5_BASE,
OPENBSD_3_5,
OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.13: +40 -40 lines
Diff to previous 1.13 (colored) to selected 1.12 (colored)
bring protypes into scope. this requires some quirky handling, but in the end everything is much clearer; ok tedu (itojun might like to see how ifconfig looks after this)
Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:08 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.12: +2 -6 lines
Diff to previous 1.12 (colored)
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
Revision 1.12 / (download) - annotate - [selected], Sat Feb 16 21:27:46 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2,
OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.11: +52 -52 lines
Diff to previous 1.11 (colored)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Revision 1.11 / (download) - annotate - [select for diffs], Sat Jul 8 16:09:33 2000 UTC (23 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0,
OPENBSD_2_9_BASE,
OPENBSD_2_9,
OPENBSD_2_8_BASE,
OPENBSD_2_8
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored) to selected 1.12 (colored)
Add a -flags option similar to -perm but for filke flags (ala chflags). Adapted from FreeBSD.
Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 7 15:25:30 2000 UTC (24 years ago) by deraadt
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored) to selected 1.12 (colored)
-iname support; karls@inet.no
Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 4 22:42:31 1999 UTC (24 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE,
OPENBSD_2_7
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored) to selected 1.12 (colored)
o use nanosecond precision with the -newer option o add -anewer and -cnewer options like GNU find.
Revision 1.8 / (download) - annotate - [select for diffs], Thu Nov 13 08:30:32 1997 UTC (26 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE,
OPENBSD_2_6,
OPENBSD_2_5_BASE,
OPENBSD_2_5,
OPENBSD_2_4_BASE,
OPENBSD_2_4,
OPENBSD_2_3_BASE,
OPENBSD_2_3
Changes since 1.7: +4 -1 lines
Diff to previous 1.7 (colored) to selected 1.12 (colored)
Add the primaries -mmin, -amin, -cmin to find, similar to the GNU find; wosch
Revision 1.7 / (download) - annotate - [select for diffs], Mon Dec 23 04:58:08 1996 UTC (27 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE,
OPENBSD_2_2,
OPENBSD_2_1_BASE,
OPENBSD_2_1
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored) to selected 1.12 (colored)
Add -execdir support.
Revision 1.6 / (download) - annotate - [select for diffs], Thu Oct 24 03:46:03 1996 UTC (27 years, 7 months ago) by tholo
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored) to selected 1.12 (colored)
Respond to SIGINFO; from PR #42
Revision 1.5 / (download) - annotate - [select for diffs], Sun Sep 1 04:56:25 1996 UTC (27 years, 9 months ago) by tholo
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE,
OPENBSD_2_0
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored) to selected 1.12 (colored)
Add support for -empty
Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 1 04:30:15 1996 UTC (27 years, 9 months ago) by tholo
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored) to selected 1.12 (colored)
Add support for -mindepth while at it
Revision 1.3 / (download) - annotate - [select for diffs], Sat Aug 31 22:40:18 1996 UTC (27 years, 9 months ago) by tholo
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored) to selected 1.12 (colored)
Add support for -maxdepth option
Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:33:07 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored) to selected 1.12 (colored)
rcsid
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:13 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.12 (colored)
initial import of NetBSD tree
Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:13 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN
Diff to selected 1.12 (colored)
Initial revision