#
7fd5ee41 |
| 04-Sep-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
The implementation of -flags was broken and did not match the (poorly) documented behavior. Only a certain set of file flags were recognized, and "no" flags did not match files that have correspondi
The implementation of -flags was broken and did not match the (poorly) documented behavior. Only a certain set of file flags were recognized, and "no" flags did not match files that have corresponding flags bits turned off.
Fix and extend the -flags functionality as follows:
: -flags [-|+]<flags>,<notflags> : The flags are specified using symbolic names (see chflags(1)). : Those with the "no" prefix (except "nodump") are said to be : <notflags>. Flags in <flags> are checked to be set, and flags in : <notflags> are checked to be not set. Note that this is different : from -perm, which only allows the user to specify mode bits that : are set. : : If flags are preceded by a dash (``-''), this primary evaluates : to true if at least all of the bits in <flags> and none of the bits : in <notflags> are set in the file's flags bits. If flags are pre- : ceded by a plus (``+''), this primary evaluates to true if any of : the bits in <flags> is set in the file's flags bits, or any of the : bits in <notflags> is not set in the file's flags bits. Otherwise, : this primary evaluates to true if the bits in <flags> exactly match : the file's flags bits, and none of the <flags> bits match those of : <notflags>.
MFC after: 2 weeks
show more ...
|
#
208691fc |
| 31-Aug-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sort predicates.
PR: docs/30237
|
#
08274979 |
| 29-Jun-2001 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
Clarify the feature that -exec parameters won't get shell-expanded when the specified utility is run.
MFC after: 5 days
|
#
bfd12208 |
| 16-May-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
mdoc(7) police: fix markup.
|
#
ea92232a |
| 03-May-2001 |
Poul-Henning Kamp <phk@FreeBSD.org> |
They add the following commands: -anewer -cnewer -mnewer -okdir -newer[acm][acmt]
With it, you can form queries like
find . -newerct '1 minute ago' -print
As an extra bonus,
They add the following commands: -anewer -cnewer -mnewer -okdir -newer[acm][acmt]
With it, you can form queries like
find . -newerct '1 minute ago' -print
As an extra bonus, the program is ANSI-fied - the original version relies on some obscure features of K&R C.
(This PR was submitted in 1999, and the submittor has kept the patch updated ever since, hats off for him guys, and how about you close a PR ??)
PR: 9374 Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at>
show more ...
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
94ad6032 |
| 24-Feb-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
mdoc(7) police: restore correct order of references in the SEE ALSO.
|
#
7c1d4b3a |
| 23-Feb-2001 |
Akinori MUSHA <knu@FreeBSD.org> |
Implement the following options and primaries:
-E Interpret regular expressions followed by -regex and -iregex op- tions as extended (modern) regular expressions rather than b
Implement the following options and primaries:
-E Interpret regular expressions followed by -regex and -iregex op- tions as extended (modern) regular expressions rather than basic regular expressions (BRE's). The re_format(7) manual page fully describes both formats.
-iname pattern Like -name, but the match is case insensitive.
-ipath pattern Like -path, but the match is case insensitive.
-regex pattern True if the whole path of the file matches pattern using regular expression. To match a file named ``./foo/xyzzy'', you can use the regular expression ``.*/[xyz]*'' or ``.*/foo/.*'', but not ``xyzzy'' or ``/foo/''.
-iregex pattern Like -regex, but the match is case insensitive.
These are meant to be compatible with other find(1) implementations such as GNU's or NetBSD's except regexp library differences.
Reviewed by: sobomax, dcs, and some other people on -current
show more ...
|
#
d0353b83 |
| 01-Feb-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
mdoc(7) police: split punctuation characters + misc fixes.
|
#
ed1a4621 |
| 23-Jan-2001 |
Peter Wemm <peter@FreeBSD.org> |
Add the -empty flag, from OpenBSD. It returns true if the directory is empty. There doesn't appear to be another easy way to do this.
mobile# mkdir foo mobile# mkdir foo/bar mobile# mkdir bar mobi
Add the -empty flag, from OpenBSD. It returns true if the directory is empty. There doesn't appear to be another easy way to do this.
mobile# mkdir foo mobile# mkdir foo/bar mobile# mkdir bar mobile# find . -empty ./foo/bar ./bar
show more ...
|
#
1bfea903 |
| 16-Jan-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
Prepare for mdoc(7)NG.
|
#
9b88faec |
| 19-Dec-2000 |
Ruslan Ermilov <ru@FreeBSD.org> |
Prepare for mdoc(7)NG.
|
#
8fe908ef |
| 20-Nov-2000 |
Ruslan Ermilov <ru@FreeBSD.org> |
mdoc(7) police: use the new features of the Nm macro.
|
Revision tags: release/4.2.0 |
|
#
45fe9882 |
| 18-Nov-2000 |
Matthew Hunt <mph@FreeBSD.org> |
"minute(s) period(s)" --> "minute(s)"
|
Revision tags: release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs |
|
#
c76bc8f3 |
| 12-Jun-2000 |
Ollivier Robert <roberto@FreeBSD.org> |
This patch adds the -mindepth and -maxdepth options to find(1), which behave as in GNU find (and of course as described in the manual page diff included). I think these options would be usef
This patch adds the -mindepth and -maxdepth options to find(1), which behave as in GNU find (and of course as described in the manual page diff included). I think these options would be useful for some people.
Some missing $FreeBSD$ tags are also added.
The patch was slightly modified (send-pr mangling of TABS).
PR: bin/18941 Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
show more ...
|
#
9d2796c3 |
| 12-Jun-2000 |
Ollivier Robert <roberto@FreeBSD.org> |
The find -perm option currently supports an exact match, or if the mode is preceded by a '-', it checks for a match in at least the bits specified on the command line. It is
The find -perm option currently supports an exact match, or if the mode is preceded by a '-', it checks for a match in at least the bits specified on the command line. It is often desirable to find things with any execute or setuid or setgid bits set.
PR: bin/10169 Submitted by: Monte Mitzelfelt <monte@gonefishing.org>
show more ...
|
Revision tags: release/4.0.0_cvs |
|
#
3615c24e |
| 01-Mar-2000 |
Nik Clayton <nik@FreeBSD.org> |
Fix errors in .Xr usage.
PR: docs/17057 Submitted by: Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
|
Revision tags: release/3.4.0_cvs |
|
#
567664c4 |
| 19-Dec-1999 |
Ollivier Robert <roberto@FreeBSD.org> |
Second part of bin/3648: add -flags to search for specific flags. I added $FreeBSD$ whicle I was here. The patch wasn't usable anymore due to its age so I adapted it.
PR: bin/3648 Submitted by: Mar
Second part of bin/3648: add -flags to search for specific flags. I added $FreeBSD$ whicle I was here. The patch wasn't usable anymore due to its age so I adapted it.
PR: bin/3648 Submitted by: Martin Birgmeier <mbirg@austria.ds.philips.com>
show more ...
|
Revision tags: release/3.3.0_cvs |
|
#
c3aac50f |
| 28-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
b9569cad |
| 06-Jun-1999 |
Kris Kennaway <kris@FreeBSD.org> |
The -perm option takes argument [-]mode, not [-mode]
Obtained from: NetBSD, by way of OpenBSD
|
Revision tags: release/3.2.0 |
|
#
0c101fb2 |
| 19-Apr-1999 |
Joseph Koshy <jkoshy@FreeBSD.org> |
Clarify wording to indicate that the arguments to find(1) are path names (and can be both files or directories). Show white space between "(", ")", "!" and their corresponding `expression' arguments
Clarify wording to indicate that the arguments to find(1) are path names (and can be both files or directories). Show white space between "(", ")", "!" and their corresponding `expression' arguments as expected by the expression parser inside find(1).
Prompted by: David Honig <David.Honig@idt.com> on freebsd-doc Message-Id: <199904132055.NAA09432@justinian.Eng.idt.com>
show more ...
|
Revision tags: release/3.1.0, release/3.0.0, release/2.2.8 |
|
#
56f7a840 |
| 31-Dec-1998 |
Bill Fumerola <billf@FreeBSD.org> |
Typo - "the -delete primary do not.." -> "the -delete primary does not.."
PR: docs/9255 Submitted by: Christian Weisgerber <naddy@bigeye.rhein-neckar.de>
|
#
6df69548 |
| 29-Nov-1998 |
Bruce Evans <bde@FreeBSD.org> |
Fixed English in previous commit. Clarify "lexicographical order". Don't format paragraphs manually (new sentences not beginning on new lines give hard-formatted line breaks).
|
#
6d0c7e13 |
| 29-Nov-1998 |
Wolfram Schneider <wosch@FreeBSD.org> |
Added a sort option to find(1).
The sort option make it possible to build the locate database without large (usually 20-100MB) temp files.
|
Revision tags: release/2.2.7 |
|
#
41cbb624 |
| 15-May-1998 |
Joseph Koshy <jkoshy@FreeBSD.org> |
Add cross references for find(1), locate(1), whereis(1) and which(1).
Submitted by: Josh Gillam <josh@quick.net> PR: docs/6642
|
Revision tags: release/2.2.6 |
|
#
f6e4fb22 |
| 27-Oct-1997 |
Steve Price <steve@FreeBSD.org> |
Better wording explaining that all single character options are extensions along with the previous list of primaries.
Suggested by: bde
|