summaryrefslogtreecommitdiff
path: root/usr.bin/find
Commit message (Collapse)AuthorAgeFilesLines
* Copy releng/7.2 to release/7.2.0 for FreeBSD 7.2-RELEASE.release/7.2.0_cvsKen Smith2009-05-0112-12/+12
| | | | | | Approved by: re (implicit) This commit was manufactured to restore the state of the 7.2-RELEASE image.
* Check in some insignificant fixes obtained as a result ofRuslan Ermilov2007-02-281-18/+19
| | | | | | | the translation work. Notes: svn path=/head/; revision=167102
* Fix the description of the -Btime primary.Ruslan Ermilov2006-12-131-3/+3
| | | | | | | Noticed by: Vadim Goncharov <vadimnuclight tpu.ru> Notes: svn path=/head/; revision=165179
* Update the list of POSIX extensions.Ceri Davies2006-10-081-3/+5
| | | | | | | | | PR: docs/103859 Submitted by: shaun MFC after: 1 week Notes: svn path=/head/; revision=163125
* Markup fixes.Ruslan Ermilov2006-09-291-1/+2
| | | | Notes: svn path=/head/; revision=162792
* Document that the pathname(s) following the options need not be given ifStefan Farfeleder2006-07-181-1/+7
| | | | | | | -f pathname was specified. Notes: svn path=/head/; revision=160466
* Add the capability for a trailing scale indicator to cause theKirill Ponomarev2006-05-272-5/+56
| | | | | | | | | | | | specified size to be read in the more familiar units of kilobytes, megabytes, gigabytes, terabytes and petabytes. PR: bin/50988 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> MFC after: 7 days Notes: svn path=/head/; revision=158986
* Enable numeric arguments and +/- prefixes with -user (-group)Kirill Ponomarev2006-05-251-4/+12
| | | | | | | | | | | options. PR: bin/71513 Submitted by: Andre Albsmeier <Andre.Albsmeier@siemens.com> MFC after: 7 days Notes: svn path=/head/; revision=158919
* The last execution of -exec {} + is not done if the -exec primary isKirill Ponomarev2006-05-144-4/+21
| | | | | | | | | | | | | | not on the top-level -and sequence, e.g. inside of ! or -or. Create a separate linked list of all active -exec {} + primaries and do the last execution for all at termination. PR: bin/79263 Submitted by: Jilles Tjoelker <jilles@stack.nl> MFC after: 7 days Notes: svn path=/head/; revision=158572
* Fix options broken when the birthtime related primaries were added.Ceri Davies2006-04-051-11/+11
| | | | | | | | | | | | Note to self: if a comment says a list must be lexically sorted, sort the list lexically. Submitted by: Pawel Worach Approved by: jhb MFC after: 2 weeks Notes: svn path=/head/; revision=157555
* Note that all of the birthtime related primaries are non-standard.Ceri Davies2006-04-041-5/+5
| | | | Notes: svn path=/head/; revision=157472
* Bump .Dd for the birthtime options.Ceri Davies2006-04-031-1/+1
| | | | Notes: svn path=/head/; revision=157441
* Add -Btime, -Bnewer, -Bmin, -newerB[Bacmt], -newer[acmt]B options toCeri Davies2006-04-034-4/+59
| | | | | | | | | | | | work with the st_birthtime field of struct stat. 'B' has been chosen to match the format specifier from stat(1). Approved by: jhb MFC after: 2 weeks Notes: svn path=/head/; revision=157440
* Fixes for gcc4.x.Ollivier Robert2005-08-252-1/+2
| | | | | | | | Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz> PR: bin/84991 Notes: svn path=/head/; revision=149453
* Markup and wording fixes.Ruslan Ermilov2005-06-141-2/+2
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=147370
* Use rpmatch() instead of checking for responses that begin with 'y'Tim J. Robbins2005-04-022-18/+24
| | | | | | | | in queryuser(). This allows users to respond to -ok and -okdir prompts with any affirmative reply defined by their current locale. Notes: svn path=/head/; revision=144526
* - Make find(1) WARNS?= 6 cleanSuleiman Souhlal2005-01-252-3/+3
| | | | | | | | | - Bump to WARNS?= 6 Approved by: stefanf, grehan (mentor) Notes: svn path=/head/; revision=140810
* Scheduled mdoc(7) sweep.Ruslan Ermilov2005-01-111-1/+1
| | | | Notes: svn path=/head/; revision=140055
* Change the 'no terminating ";"' error message to 'no terminating ";" or "+"'Tim J. Robbins2004-07-291-1/+1
| | | | | | | since + is also a valid way to terminate -exec. Notes: svn path=/head/; revision=132815
* Remove partial support for building this on NetBSD.Tim J. Robbins2004-07-293-10/+0
| | | | Notes: svn path=/head/; revision=132814
* Now that fnmatch() supports multibyte characters, find does too; removeTim J. Robbins2004-07-291-5/+1
| | | | | | | entry from BUGS section that said otherwise. Notes: svn path=/head/; revision=132813
* Start new sentence on new line.Colin Percival2004-07-271-1/+2
| | | | | | | Pointed out by: simon Notes: svn path=/head/; revision=132709
* Add a BUGS entry pointing out that -mindepth and -maxdepth are globalColin Percival2004-07-271-0/+7
| | | | | | | | | options even though they look like primaries. (This is already documented in the options themselves, but is sufficiently astonishing that I think it deserves a BUGS entry as well.) Notes: svn path=/head/; revision=132707
* Merge the "multibyte not supported" BUG into the pre-existing BUGSColin Percival2004-07-271-6/+6
| | | | | | | | | | | | section. Move the HISTORY section to place it before BUGS rather than after BUGS, in order to minimize the chance of this error being reproduced in the future. (Both mdoc(7) and 63% of manual pages have these sections listed in this order.) Notes: svn path=/head/; revision=132706
* mdoc(7) fixes.Ruslan Ermilov2004-07-071-2/+2
| | | | Notes: svn path=/head/; revision=131754
* Document missing multibyte character support in utilities specifiedTim J. Robbins2004-07-031-1/+5
| | | | | | | by POSIX. Notes: svn path=/head/; revision=131511
* Re-add half of UCB copyright notice that went missing in 1.20.Tim J. Robbins2004-07-031-0/+1
| | | | Notes: svn path=/head/; revision=131509
* - introduce a new primary `-depth n', which tests whetherOliver Eikemeier2004-05-286-28/+91
| | | | | | | | | | | | | | | | | | | | | | | | the depth of the current file relative to the starting point of the traversal is n. The usual +/- modifiers to the argument apply. - while I'm here, fix -maxdepth in the case of a depth-first traversal Print the top ten maintainers of python module ports (works with p5-* too): find /usr/ports -depth 2 \! -name 'py-*' -prune -o \ -depth 3 -name Makefile -execdir make -VMAINTAINER \; \ | sort | uniq -c | sort -nr | head PR: 66667 Reviewed by: ru, joerg Approved by: joerg MFC after: 2 weeks Notes: svn path=/head/; revision=129812
* Bumped document date.Ruslan Ermilov2004-05-191-16/+16
| | | | | | | | Fixed a bunch of hyphen misspellings. Fixed one warning. Notes: svn path=/head/; revision=129428
* snafu, exchanged the descriptions of -maxdepth and -mindepth.Oliver Eikemeier2004-05-161-5/+5
| | | | | | | Noticed by: ru Notes: svn path=/head/; revision=129273
* -maxdepth and -mindepth are global variablesOliver Eikemeier2004-05-141-3/+16
| | | | | | | | | PR: 66613 Approved by: ru MFC after: 3 days Notes: svn path=/head/; revision=129211
* Clarify and correct some compatibility notes.Dag-Erling Smørgrav2004-04-211-9/+22
| | | | | | | PR: 65822 Notes: svn path=/head/; revision=128505
* Add -acl and a small blurb about it to the options list.Tom Rhodes2004-04-071-1/+8
| | | | | | | Update date. Notes: svn path=/head/; revision=128010
* Give find(1) the option -acl to locate files with extendedBosko Milekic2004-04-033-0/+54
| | | | | | | | | | | | | | ACLs. This is similar to what ls(1) can do. It is handy to have it so that it can be used in conjunction with "-exec setfacl {} \;" (to find(1)), among others. This is the submitter's patch, but slightly modified. PR: bin/65016 Submitted by: Christian S.J. Peron <maneo@bsdpro.com> Notes: svn path=/head/; revision=127796
* Update the find manual page:Tom Rhodes2004-02-271-1/+14
| | | | | | | | | | | | | 1: Document -follow under COMPATIBILITY. 2: Update an example to be a little more 'safe'. 3: Use '/' in place of '.' for an example; similar to other manual pages. PR: 40196 (1), 39532 (2, 3) Submitted by: Marc Silver <marcs@draenor.org> (2 and 3) Discussed with: des (1) Notes: svn path=/head/; revision=126331
* Typo.Dag-Erling Smørgrav2004-02-231-1/+1
| | | | Notes: svn path=/head/; revision=126158
* Use a larger field for the size in blocks; the current width (4 digits)Dag-Erling Smørgrav2004-01-201-1/+1
| | | | | | | is only good for 5 MB. Notes: svn path=/head/; revision=124746
* State that in -exec ... ; the semicolon should be quoted if invoked fromJens Schweikhardt2003-07-251-0/+4
| | | | | | | | | | | a shell. PR: docs/54667 Submitted by: Patrick Alken <pa59@cornell.edu> MFC after: 3 days Notes: svn path=/head/; revision=118021
* Fix all WARNS. Checked with "make WARNS=9". Remove unused file.Mark Murray2003-06-1410-1184/+133
| | | | Notes: svn path=/head/; revision=116333
* Correctly alphabetize options[] so we don't stop at -nouser when searchingDag-Erling Smørgrav2003-02-181-1/+1
| | | | | | | | | | | for -not. PR: bin/48423 Submitted by: Matsumura Naoki <matsu@jp.FreeBSD.org> MFC after: 3 days Notes: svn path=/head/; revision=111084
* Uniformly refer to a file system as "file system".Ruslan Ermilov2002-12-121-5/+5
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107788
* mdoc(7) police: markup polishing.Ruslan Ermilov2002-11-261-17/+5
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107261
* Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the structGarrett Wollman2002-09-211-2/+2
| | | | | | | | | | | | | | | | | | | hack, thereby allowing future extensions to the structure (e.g., for extended attributes) without rebreaking the ABI. FTSENT now contains a pointer to the parent stream, which fts_compar() can then take advantage of, avoiding the undefined behavior previously warned about. As a consequence of this change, the prototype of the comparison function passed to fts_open() has changed to reflect the required amount of constness for its use. All callers in the tree are updated to use the correct prototype. Comparison functions can now make use of the new parent pointer to access the new stream-specific private data pointer, which is intended to assist creation of reentrant library routines which use fts(3) internally. Not objected to in spirit by: -arch Notes: svn path=/head/; revision=103726
* Do not repeat the name of the flag in its descriptionPhilippe Charnier2002-08-271-24/+8
| | | | Notes: svn path=/head/; revision=102498
* Add a unary -not operator ala -false and !, for sake of completeness.Juli Mallett2002-08-192-0/+2
| | | | | | | | Obtained from: OpenDarwin MFC after: 1 week Notes: svn path=/head/; revision=102083
* Oops, add -false to the operators list in the manual page for find(1), as addedJuli Mallett2002-08-151-0/+1
| | | | | | | | | in revision 1.17 of option.c. MFC after: 1 week Notes: svn path=/head/; revision=101932
* Add support for -false instead of '!' cause it can be hard to use that inJuli Mallett2002-08-151-0/+1
| | | | | | | | | | some shells, etc., and also for GNU compatability (lack of this broke the Mono CVS build for me). MFC after: 1 week Notes: svn path=/head/; revision=101931
* - Introduce a new struct xvfsconf, the userland version of struct vfsconf.Maxime Henrion2002-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | - Make getvfsbyname() take a struct xvfsconf *. - Convert several consumers of getvfsbyname() to use struct xvfsconf. - Correct the getvfsbyname.3 manpage. - Create a new vfs.conflist sysctl to dump all the struct xvfsconf in the kernel, and rewrite getvfsbyname() to use this instead of the weird existing API. - Convert some {set,get,end}vfsent() consumers to use the new vfs.conflist sysctl. - Convert a vfsload() call in nfsiod.c to kldload() and remove the useless vfsisloadable() and endvfsent() calls. - Add a warning printf() in vfs_sysctl() to tell people they are using an old userland. After these changes, it's possible to modify struct vfsconf without breaking the binary compatibility. Please note that these changes don't break this compatibility either. When bp will have updated mount_smbfs(8) with the patch I sent him, there will be no more consumers of the {set,get,end}vfsent(), vfsisloadable() and vfsload() API, and I will promptly delete it. Notes: svn path=/head/; revision=101651
* - Use MAXLOGNAME - 1 rather than UT_NAMESIZE.Robert Drehmel2002-07-221-3/+2
| | | | | | | - Remove the inclusion of <utmp.h>. Notes: svn path=/head/; revision=100495
* Account for space used by environment variables in a similar way toTim J. Robbins2002-07-131-8/+12
| | | | | | | xargs(1) when handling -exec ... {} + constructions. Notes: svn path=/head/; revision=99905