Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-01-05 | -execdir only supports the first form of -exec with ; suffix, not the new | Stuart Henderson | |
form with {} + suffix; make this clear in the manual. Text suggested by jmc@ | |||
2012-01-05 | Fix typos in comment (s,exacty,exactly,) | Stuart Henderson | |
2012-01-03 | - use more consistent markup | Jason McIntyre | |
- reformat the list of primaries such that the two -exec items are listed without vertical whitespace seperating them | |||
2012-01-02 | Add support for "find ... -exec foo {} \+". | Pascal Stumpf | |
From the manpage: If terminated by a plus sign (``+''), the pathnames for which the primary is evaluated are aggregated into sets, and utility will be invoked once per set, similar to xargs(1). If any invocation exits with non-zero exit status, then find will eventually do so as well, but this does not cause find to exit early. The string ``{}'' must appear, and must appear last. Each set is limited to no more than 5,000 pathnames, and is also limited such that the invocation of utility does not exceed ARG_MAX. Code comes from NetBSD, written by John Hawkinson. Tested by eivinde at terraplane dot org and myself for quite some time. ok miod@ | |||
2011-06-14 | exit if there is an unknown option; from FreeBSD | Christian Weisgerber | |
ok millert@ | |||
2011-04-21 | find: return exit code 1 if any path could not be traversed | Jacek Masiulaniec | |
matches posix and the manual, ok millert | |||
2011-02-13 | As noticed by Clint Pachl <pachl at ecentryx dot com>, | Ingo Schwarze | |
it is easy to miss a blank character in an example, so explicitely state that whitespace causes the issue; while here, mention that shell metacharacters cause danger as well; ok otto@ sthen@ jmc@ | |||
2010-12-01 | Don't error out if we can't opendir() when -empty is used. | Todd C. Miller | |
Fix by Bakul Shah. OK deraadt@ halex@ | |||
2010-09-29 | various EXIT STATUS fixes; from Daniel Dickman | Jason McIntyre | |
2010-09-20 | oops! missing quote in previous; | Jason McIntyre | |
2010-09-19 | Shorten text pointing from -X to -print0. | Ingo Schwarze | |
Add pointer from -print0 to xargs(1). Add an EXAMPLE to demonstrate \( ... -or ... \) -print0. Stop advertising -print | xargs, which is dangerous. Add a CAVEAT about passing find(1) output to other programs. Mostly from joachimschipper dot nl; using feedback from jmc@ and sthen@, and tweaked myself; ok jmc@ | |||
2010-07-15 | More delimiters that need quoting inside macros, hunted down by jmc@, | Ingo Schwarze | |
who asked me to commit because he is just running out of the door. | |||
2010-02-03 | make it clear that -iname supports globbing; | Ingo Schwarze | |
refer to glob(7) for more precision; add some relevant and remove some not so relevant .Xrs; ok jmc@ | |||
2009-12-20 | Use the standard wording, requested by jmc@. | Ingo Schwarze | |
Actually, this is much closer to the original submission by Daniel Dickmann. | |||
2009-12-20 | find -LH was -L, but must be -H according to POSIX; | Ingo Schwarze | |
patch from Daniel Dickman <didickman at gmail dot com> via tech@, though i'm updating the manual in a different way; ok millert@ "looks good" deraadt@ | |||
2009-12-09 | We only need to fchdir(dotfd) for the -exec and -ok primaries so | Todd C. Miller | |
defer the check for dotfd != -1 until we know we will need it. Based on a diff from schwarze@ | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-09-16 | Allow -maxdepth 0; noticed by bluhm@ | Todd C. Miller | |
2009-08-27 | Don't stop traversing a directory hierarchy if we reach SHRT_MAX, | Todd C. Miller | |
just stop updating fts_level so we don't overflow it. This allows rm, find, etc to operate on very deep hierarchies. Consumers of fts(3) do need to be aware that the actual level may be larger than fts_level. During the next libc major bump we will make fts_level an int instead of a short. OK deraadt@ | |||
2009-04-09 | min/maxdepth do not observe +-; | Jason McIntyre | |
reported by x, but different fix taken | |||
2009-02-08 | updates to IEEE Std 1003.1-2008; | Jason McIntyre | |
2009-02-08 | bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few | Jason McIntyre | |
updates to follow; | |||
2009-01-28 | since -g is always overridden by -l in ls(1), the equivalent of the | Jason McIntyre | |
-ls primary is better described as "ls -dils" than "ls -dgils"; | |||
2008-09-29 | Add a missing `|' to the description of -perm. | Matthias Kilian | |
ok jmc@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-30 | - use a consistent text for STANDARDS | Jason McIntyre | |
- note which options are extensions to POSIX | |||
2007-05-10 | ftsopen -> fts_open; partly from Alexander Holupirek, documentation/5472 | Jason McIntyre | |
ok simon art | |||
2006-12-26 | fts_read returning NULL and errno set is an error. ok ray@ | Otto Moerbeek | |
2006-10-11 | hmm, slightly reword the previous to sound less like a susv3 cut/paste, | Jason McIntyre | |
thus also avoiding a line split that was annoying me; | |||
2006-10-11 | some important information about how find(1) works was tucked away | Jason McIntyre | |
under -print, and slightly inaccurate anway; move it up into DESCRIPTION and correct it; from otto and myself | |||
2006-10-11 | improve markup a wee bit; | Jason McIntyre | |
2006-10-11 | a little macro cleanup; | Jason McIntyre | |
2006-10-11 | Suggest to use xargs(1) and give an example; started by jmc, ok jmc@ | Otto Moerbeek | |
2006-10-11 | in EXAMPLES: | Jason McIntyre | |
- make the first example positive (we have enough using `!') - remove second example (it is too similar to others) - remove `-print' from all examples - put the examples in a more logical order - no need to escape dot, as otto points out i have been escaping it needlessly for years ;( ok otto | |||
2006-10-11 | for -depth, -follow, and -xdev, note that they always evaluate to true; | Jason McIntyre | |
ok otto | |||
2006-10-10 | get the spacing right for -ok too; i missed this in my previous commit. | Jason McIntyre | |
2006-10-10 | get the spacing right for -exec and -execdir; ok otto | Jason McIntyre | |
2006-10-10 | add an example of -exec {} and remove a less useful example; ok otto | Jason McIntyre | |
2006-10-05 | -iname is a primary, not an option. ok jmc@ | Otto Moerbeek | |
2006-10-05 | document -depth and -xdev: although we have options which do the same, | Jason McIntyre | |
they are not included in posix; make the description of -follow match that of -depth and -xdev, especially since its option equivalent is preferred; ok otto | |||
2006-10-04 | - bump latest posix version | Jason McIntyre | |
- note additional primaries which are not posix conformant and, conversely, one which was not previously conformant and now is this was prompted by a mail to either freebsd or netbsd lists, but i cannot for the life of me find it - thanks anyway! ok otto | |||
2006-10-02 | remove some unneccessary escaping; | Jason McIntyre | |
2006-10-01 | rewrite the piece about separate arguments to not confuse jmc@. | Otto Moerbeek | |
ok jmc@ kettenis@ | |||
2006-09-26 | clear up some confusion between operands and operators; with & ok jmc@ | Otto Moerbeek | |
2006-09-24 | do not suggest that !expression and (expression) (without spaces) is valid; | Jason McIntyre | |
"from sander bos, with credit to peter bex" ok otto | |||
2005-12-27 | move the BUGS section to CAVEATS, since both the points listed | Jason McIntyre | |
are hardly bugs; prompted by j. c. roberts; ok krw millert ian | |||
2005-10-01 | Fix description of -flags. Noted by Magnus Ehman in PR 4527. ok jmc@ jaredy@ | Otto Moerbeek | |
2005-08-30 | remove -W from synopsis; ok deraadt@ jmc@ | David Krause | |
2005-06-15 | no more whiteouts | Todd C. Miller | |
2005-03-14 | make the OPERATORS list -compact: this avoids the nasty line split | Jason McIntyre | |
between 2 list items that are logically linked; |