summaryrefslogtreecommitdiff
path: root/usr.bin/find
AgeCommit message (Collapse)Author
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo 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-16Allow -maxdepth 0; noticed by bluhm@Todd C. Miller
2009-08-27Don'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-09min/maxdepth do not observe +-;Jason McIntyre
reported by x, but different fix taken
2009-02-08updates to IEEE Std 1003.1-2008;Jason McIntyre
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2009-01-28since -g is always overridden by -l in ls(1), the equivalent of theJason McIntyre
-ls primary is better described as "ls -dils" than "ls -dgils";
2008-09-29Add a missing `|' to the description of -perm.Matthias Kilian
ok jmc@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
- note which options are extensions to POSIX
2007-05-10ftsopen -> fts_open; partly from Alexander Holupirek, documentation/5472Jason McIntyre
ok simon art
2006-12-26fts_read returning NULL and errno set is an error. ok ray@Otto Moerbeek
2006-10-11hmm, 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-11some important information about how find(1) works was tucked awayJason McIntyre
under -print, and slightly inaccurate anway; move it up into DESCRIPTION and correct it; from otto and myself
2006-10-11improve markup a wee bit;Jason McIntyre
2006-10-11a little macro cleanup;Jason McIntyre
2006-10-11Suggest to use xargs(1) and give an example; started by jmc, ok jmc@Otto Moerbeek
2006-10-11in 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-11for -depth, -follow, and -xdev, note that they always evaluate to true;Jason McIntyre
ok otto
2006-10-10get the spacing right for -ok too; i missed this in my previous commit.Jason McIntyre
2006-10-10get the spacing right for -exec and -execdir; ok ottoJason McIntyre
2006-10-10add an example of -exec {} and remove a less useful example; ok ottoJason McIntyre
2006-10-05-iname is a primary, not an option. ok jmc@Otto Moerbeek
2006-10-05document -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 versionJason 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-02remove some unneccessary escaping;Jason McIntyre
2006-10-01rewrite the piece about separate arguments to not confuse jmc@.Otto Moerbeek
ok jmc@ kettenis@
2006-09-26clear up some confusion between operands and operators; with & ok jmc@Otto Moerbeek
2006-09-24do not suggest that !expression and (expression) (without spaces) is valid;Jason McIntyre
"from sander bos, with credit to peter bex" ok otto
2005-12-27move the BUGS section to CAVEATS, since both the points listedJason McIntyre
are hardly bugs; prompted by j. c. roberts; ok krw millert ian
2005-10-01Fix description of -flags. Noted by Magnus Ehman in PR 4527. ok jmc@ jaredy@Otto Moerbeek
2005-08-30remove -W from synopsis; ok deraadt@ jmc@David Krause
2005-06-15no more whiteoutsTodd C. Miller
2005-03-14make the OPERATORS list -compact: this avoids the nasty line splitJason McIntyre
between 2 list items that are logically linked;
2005-03-14add an example showing how to use -prune to skip a directory whilstJason McIntyre
searching; help from otto; requested by fgsch; ok otto@ fgsch@
2005-03-14simplify the description of -d to avoid confusion;Jason McIntyre
ok otto@ millert@
2005-03-13maintain alphabetical order in primaries list;Jason McIntyre
2005-02-07sync and make usage __dead, from Michael KnudsenJared Yanovich
2005-02-07rename "file" to "path" in usage, it's clearerJared Yanovich
from Michael Knudsen <e@molioner.dk> ok jmc millert and rearrange man page EXAMPLES while here
2004-09-15remove unused variableTheo de Raadt
2004-09-15no , allowed at end of enum listTheo de Raadt
2004-07-20ansi; khalek@linuxgamers.netTheo de Raadt
2004-07-01setmode(3) returns void *, not mode_t *. ok millert@Otto Moerbeek
2004-06-02Use errx() rather than err() when errno isn't set.Tom Cosgrove
ok otto@
2004-02-24- remove double spaces in the examplesJason McIntyre
- `W' before `X' - sync usage() ok millert@
2004-01-23Clarify find -X and Xr xargs(1). Based on a diff from and OK by jmc@Todd C. Miller
2003-09-26better realloc. ok deraadt@ henning@Ted Unangst
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-07-06proto into scopeTheo de Raadt
2003-07-02protosTheo de Raadt