summaryrefslogtreecommitdiffstats
path: root/usr.bin/find/find.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-05-09 19:02:06 +0000
committerwollman <wollman@FreeBSD.org>1995-05-09 19:02:06 +0000
commit715c2b0756e915aec3e15087ab41a14e903bd7f1 (patch)
tree3824a53da4fe2907a82c2e56c64ecc75e069be0b /usr.bin/find/find.h
parentbf8c6b4473f2382b18fd53796f80b17d6ae323e3 (diff)
downloadFreeBSD-src-715c2b0756e915aec3e15087ab41a14e903bd7f1.zip
FreeBSD-src-715c2b0756e915aec3e15087ab41a14e903bd7f1.tar.gz
Add GNU-style `-print0' primary. This exists so that one can safely
do `find some-nasty-expression -print0 | perl -n0e unlink' and have all the files actuallly get deleted. (Using `xargs' and `rm' is not safe.)
Diffstat (limited to 'usr.bin/find/find.h')
-rw-r--r--usr.bin/find/find.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/find/find.h b/usr.bin/find/find.h
index 4c4ffa5..8066d37 100644
--- a/usr.bin/find/find.h
+++ b/usr.bin/find/find.h
@@ -43,6 +43,7 @@ enum ntype {
N_FSTYPE, N_GROUP, N_INUM, N_LINKS, N_LS, N_MTIME, N_NAME, N_NEWER,
N_NOGROUP, N_NOT, N_NOUSER, N_OK, N_OPENPAREN, N_OR, N_PATH,
N_PERM, N_PRINT, N_PRUNE, N_SIZE, N_TYPE, N_USER, N_XDEV,
+ N_PRINT0
};
/* node definition */
OpenPOWER on IntegriCloud