Commit Graph

17 Commits

Author SHA1 Message Date
enami 6fc4763861 If -H, clear FTS_LOGICAL and set FTS_PHYSICAL as well as FTS_COMFOLLOW.
If -L, clear FTS_PHYSICAL as well as FTS_COMFOLLOW.
2000-08-04 09:01:05 +00:00
enami 1ab3345f20 Compare the return value of getopt(3) against -1 rather than EOF.
(while i'm here, one more cosometic change is performed).
2000-03-16 18:47:48 +00:00
enami 7b4bdbc144 Cosmetic changes. 2000-03-16 18:44:29 +00:00
itohy f1042d894e Add -s in usage. 2000-03-13 08:21:36 +00:00
kleink 41ab7b6729 Use strcoll() to sort directory entries. 2000-03-10 14:50:36 +00:00
itohy 6baa6f27af Add -s (sort) option, which causes entries in each directory sorted.
Similar to FreeBSD's.
2000-03-10 11:46:04 +00:00
simonb d8b807ed6d Add 'h' to optstring. Fixes PR 7492 from Tom Trebisky. 1999-04-29 02:23:58 +00:00
cgd c62f53ae70 allocate temporary storage for directory list, rather than clobbering
argv (yuck!).
1998-02-10 21:52:51 +00:00
mrg 7b983ca6d5 merge lite2, sans getvfsbyname in functions.c (waiting on libc) 1998-02-02 14:02:06 +00:00
lukem 403b699b0b fix .Nm usage, deprecate register, mostly WARNSify (needs minor rewrite to fix) 1997-10-19 11:52:12 +00:00
lukem 906b60f5e0 getopt returns -1 not EOF 1997-10-18 14:49:41 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
jtc 35104de52f Changed order of the subexpressions in a conditional to guard against
the case of zero length arguments.
1994-01-24 23:08:15 +00:00
jtc 3dfa59ec4a Merged our bugfixes with the 4.4BSD find from uunet. 1993-12-30 21:15:18 +00:00
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
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00