History log of /openbsd-current/usr.bin/find/option.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.21 06-Dec-2018 tedu

add -not as a sh friendly alias for !.
ok millert


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.20 03-Jan-2017 tedu

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 tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.19 05-Oct-2015 deraadt

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 tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.18 27-Oct-2009 deraadt

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.17 02-Jul-2003 deraadt

protos


# 1.16 26-Jun-2003 deraadt

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)


# 1.15 03-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.14 16-Feb-2002 millert

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.


# 1.13 19-Nov-2001 mpech

kill more registers

millert@ ok


Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.12 08-Jul-2000 millert

Add a -flags option similar to -perm but for filke flags (ala
chflags). Adapted from FreeBSD.


# 1.11 07-Jun-2000 deraadt

-iname support; karls@inet.no


# 1.10 07-Jun-2000 deraadt

option list MUST be sorted; previous commit broke "and"; karls@inet.no


Revision tags: OPENBSD_2_7_BASE
# 1.9 04-Dec-1999 millert

o use nanosecond precision with the -newer option
o add -anewer and -cnewer options like GNU find.


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.8 28-Nov-1997 deraadt

sort table; tejblum@arc.hq.cti.ru


# 1.7 13-Nov-1997 deraadt

Add the primaries -mmin, -amin, -cmin to find, similar to the GNU find; wosch


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.6 23-Dec-1996 millert

Add -execdir support.


Revision tags: OPENBSD_2_0_BASE
# 1.5 01-Sep-1996 tholo

Add support for -empty


# 1.4 01-Sep-1996 tholo

Add support for -mindepth while at it


# 1.3 31-Aug-1996 tholo

Add support for -maxdepth option


# 1.2 26-Jun-1996 deraadt

rcsid


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.20 03-Jan-2017 tedu

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 tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.19 05-Oct-2015 deraadt

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 tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.18 27-Oct-2009 deraadt

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.17 02-Jul-2003 deraadt

protos


# 1.16 26-Jun-2003 deraadt

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)


# 1.15 03-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.14 16-Feb-2002 millert

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.


# 1.13 19-Nov-2001 mpech

kill more registers

millert@ ok


Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.12 08-Jul-2000 millert

Add a -flags option similar to -perm but for filke flags (ala
chflags). Adapted from FreeBSD.


# 1.11 07-Jun-2000 deraadt

-iname support; karls@inet.no


# 1.10 07-Jun-2000 deraadt

option list MUST be sorted; previous commit broke "and"; karls@inet.no


Revision tags: OPENBSD_2_7_BASE
# 1.9 04-Dec-1999 millert

o use nanosecond precision with the -newer option
o add -anewer and -cnewer options like GNU find.


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.8 28-Nov-1997 deraadt

sort table; tejblum@arc.hq.cti.ru


# 1.7 13-Nov-1997 deraadt

Add the primaries -mmin, -amin, -cmin to find, similar to the GNU find; wosch


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.6 23-Dec-1996 millert

Add -execdir support.


Revision tags: OPENBSD_2_0_BASE
# 1.5 01-Sep-1996 tholo

Add support for -empty


# 1.4 01-Sep-1996 tholo

Add support for -mindepth while at it


# 1.3 31-Aug-1996 tholo

Add support for -maxdepth option


# 1.2 26-Jun-1996 deraadt

rcsid


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision