NetBSD/usr.bin/find
reed 9695cc3899 Add -false switch. From man page:
-false  This primary always evaluates to false.  This can be used follow-
        ing a primary that caused the expression to be true to make the
	expression to be false.  This can be useful after using a -fprint
	primary so it can continue to the next expression (using an -or
	operator, for example).

This was brought up on the tech-userlevel list in October.

Using -fprint on findutils or new NetBSD find(1) does not do what
I wanted. For example, if saving results of all files that start
with a vowel or saving results of all files owned by group operator,
then the list of files owned by group operator would not include
the files starting with a vowel.

findutils's find has a workaround for this with -false and also a
"," comma opeator. (I made add this comma operator later; you can use
the comma to perform multiple independent tests.)
2005-11-09 00:47:16 +00:00
..
Makefile
extern.h Add -false switch. From man page: 2005-11-09 00:47:16 +00:00
find.1 Add -false switch. From man page: 2005-11-09 00:47:16 +00:00
find.c This adds -fprint function. The primary name "-fprint" (but not the 2005-10-12 20:03:59 +00:00
find.h Add -false switch. From man page: 2005-11-09 00:47:16 +00:00
function.c Add -false switch. From man page: 2005-11-09 00:47:16 +00:00
ls.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
main.c Revert, as requested by cube@. 2005-10-19 12:25:51 +00:00
misc.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
operator.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
option.c Add -false switch. From man page: 2005-11-09 00:47:16 +00:00