Commit Graph

64 Commits

Author SHA1 Message Date
jtc 7c609895ee Changed to conform to POSIX.2, 4.24.4: the first argument that starts with
a -, or is a ! or a (, and all subsequent arguments shall be interpreted
as an expression ...
The behavior before this change can cause a non-option (eg -owner instead
of -user) to be interpreted as a file name.  Depending on the expression
used, this could cause serious damage:

	find . -owner jtc -exec rm \{\} \;

Will delete every file.
1993-12-29 22:00:13 +00:00
jtc 3a2b9d8c2b Added -print0 (like GNU find). This will allow file names that contain
newlines to be correctly interpreted by programs that process find
output.
1993-10-27 17:52:30 +00:00
jtc 99cd400e2e Use *->fts_errno instead of errno after fts_read(). The fts manpage
indicates that the fts_errno will be set to the correct value, but there
are no guarentees about errno.
1993-10-01 01:03:22 +00:00
cgd 62d3b2073c fix to the 'size' primary; -size <n>c didn't work. from
Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
1993-09-16 21:41:30 +00:00
deraadt f85c326074 for new fts library 1993-08-06 01:53:33 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
jtc 5108aaad56 Update source to use posix fnmatch 1993-06-16 17:19:05 +00:00
mycroft ea595285f6 Remove bogus option so as not to confuse bsearch(). 1993-04-19 11:25:41 +00:00
mycroft 5db0bae112 Reverse sense of fnmatch() to match POSIX. 1993-04-10 01:10:27 +00:00
cgd 7c6490bf10 added support for "kernfs" and "fdesc" to -fstype 1993-03-24 22:56:32 +00:00
cgd 609f072018 fixed fact that "rdonly" wasn't supported by -fstype, but the man
page said it was.  also fixed multiple fstype checks on the same
partition
1993-03-24 22:54:22 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00