summaryrefslogtreecommitdiffstats
path: root/usr.bin/find/find.1
Commit message (Collapse)AuthorAgeFilesLines
* Better way to find out available file system types is to use lsvfs(1).pjd2010-03-161-6/+4
| | | | | | | | Using 'sysctl vfs' is not only ugly, but is also not reliable - not all file system types create entries in vfs sysctl tree. Reviewed by: imp MFC after: 1 week
* Update find(1) man page for -L/-delete interaction.jilles2009-09-201-1/+2
| | | | | | | | | It is a bit unfortunate that the example to delete broken symlinks now uses rm(1), but allowing this with -delete would require fixing fts(3) to not imply FTS_NOCHDIR if FTS_LOGICAL is given (or hacks in the -delete option). PR: bin/90687 MFC after: 2 weeks
* Fix SYNOPSIS and usage().ru2008-03-031-7/+7
|
* Bump .Dd for revisions 1.83 and 1.84.ceri2008-02-241-1/+1
|
* Tag -ilname and -lname as GNU extensions.imp2008-02-241-1/+4
| | | | | Correct their descriptions to indicate that it is the contents of the symbolic link that are matched.
* Implement a number of primaries present in GNU find, but not presentimp2008-02-231-1/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in our find. The following are nops because they aren't relevant to our find: -ignore_readdir_race -noignore_readdir_race -noleaf The following aliaes were created: -gid -> -group [2] -uid -> -user [2] -wholename -> -path -iwholename -> ipath -mount -> -xdev -d -> -depth [1] The following new primaries were created: -lname like -name, but matches symbolic links only) -ilname like -lname but case insensitive -quit exit(0) -samefile returns true for hard links to the specified file -true Always true I changed one primary to match GNU find since I think our use of it violates POLA -false Always false (was an alias for -not!) Also, document the '+' modifier for -execdir, as well as all of the above. This was previously implemented. Document the remaining 7 primaries that are in GNU find, but aren't yet implemented in find(1) [1] This was done in GNU find for compatibility with FreeBSD, yet they mixed up command line args and primary args. [2] -uid/-gid in GNU find ONLY takes a numeric arg, but that arg does the normal range thing that. GNU find -user and -uid also take a numberic arg, but don't do the range processing. find(1) does both for -user and -group, so making -uid and -gid aliases is compatible for all non-error cases used in GNU find. While not perfect emulation, this seems a reasonable thing for us.
* Check in some insignificant fixes obtained as a result ofru2007-02-281-18/+19
| | | | the translation work.
* Fix the description of the -Btime primary.ru2006-12-131-3/+3
| | | | Noticed by: Vadim Goncharov <vadimnuclight tpu.ru>
* Update the list of POSIX extensions.ceri2006-10-081-3/+5
| | | | | | PR: docs/103859 Submitted by: shaun MFC after: 1 week
* Markup fixes.ru2006-09-291-1/+2
|
* Document that the pathname(s) following the options need not be given ifstefanf2006-07-181-1/+7
| | | | -f pathname was specified.
* Add the capability for a trailing scale indicator to cause thekrion2006-05-271-2/+21
| | | | | | | | | 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
* Note that all of the birthtime related primaries are non-standard.ceri2006-04-041-5/+5
|
* Bump .Dd for the birthtime options.ceri2006-04-031-1/+1
|
* Add -Btime, -Bnewer, -Bmin, -newerB[Bacmt], -newer[acmt]B options toceri2006-04-031-0/+33
| | | | | | | | | 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
* Markup and wording fixes.ru2005-06-141-2/+2
| | | | Approved by: re (blanket)
* Use rpmatch() instead of checking for responses that begin with 'y'tjr2005-04-021-3/+15
| | | | | in queryuser(). This allows users to respond to -ok and -okdir prompts with any affirmative reply defined by their current locale.
* Scheduled mdoc(7) sweep.ru2005-01-111-1/+1
|
* Now that fnmatch() supports multibyte characters, find does too; removetjr2004-07-291-5/+1
| | | | entry from BUGS section that said otherwise.
* Start new sentence on new line.cperciva2004-07-271-1/+2
| | | | Pointed out by: simon
* Add a BUGS entry pointing out that -mindepth and -maxdepth are globalcperciva2004-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.)
* Merge the "multibyte not supported" BUG into the pre-existing BUGScperciva2004-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.)
* mdoc(7) fixes.ru2004-07-071-2/+2
|
* Document missing multibyte character support in utilities specifiedtjr2004-07-031-1/+5
| | | | by POSIX.
* Re-add half of UCB copyright notice that went missing in 1.20.tjr2004-07-031-0/+1
|
* - introduce a new primary `-depth n', which tests whethereik2004-05-281-14/+34
| | | | | | | | | | | | | | | | | | | | | 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
* Bumped document date.ru2004-05-191-16/+16
| | | | | Fixed a bunch of hyphen misspellings. Fixed one warning.
* snafu, exchanged the descriptions of -maxdepth and -mindepth.eik2004-05-161-5/+5
| | | | Noticed by: ru
* -maxdepth and -mindepth are global variableseik2004-05-141-3/+16
| | | | | | PR: 66613 Approved by: ru MFC after: 3 days
* Clarify and correct some compatibility notes.des2004-04-211-9/+22
| | | | PR: 65822
* Add -acl and a small blurb about it to the options list.trhodes2004-04-071-1/+8
| | | | Update date.
* Update the find manual page:trhodes2004-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)
* Typo.des2004-02-231-1/+1
|
* State that in -exec ... ; the semicolon should be quoted if invoked fromschweikh2003-07-251-0/+4
| | | | | | | | a shell. PR: docs/54667 Submitted by: Patrick Alken <pa59@cornell.edu> MFC after: 3 days
* Uniformly refer to a file system as "file system".ru2002-12-121-5/+5
| | | | Approved by: re
* mdoc(7) police: markup polishing.ru2002-11-261-17/+5
| | | | Approved by: re
* Do not repeat the name of the flag in its descriptioncharnier2002-08-271-24/+8
|
* Add a unary -not operator ala -false and !, for sake of completeness.jmallett2002-08-191-0/+1
| | | | | Obtained from: OpenDarwin MFC after: 1 week
* Oops, add -false to the operators list in the manual page for find(1), as addedjmallett2002-08-151-0/+1
| | | | | | in revision 1.17 of option.c. MFC after: 1 week
* Indicate that the semicolon that terminates argument lists should be intjr2002-06-261-2/+8
| | | | its own argument for -ok and -okdir.
* Make it more obvious that the semicolon that terminates -exec and -execdirtjr2002-06-261-2/+8
| | | | | argument lists must be in an argument by itself, not on the end of the previous one.
* Support the SysV-style -exec utility args.. {} + function, required bytjr2002-06-021-0/+9
| | | | SUSv3. This is similar to find foo -print0 | xargs -0 utility args.
* mdoc(7) police: markup nits.ru2002-05-291-1/+1
|
* More consistancy. file system > filesystemtrhodes2002-05-161-3/+3
|
* Use `The .Nm utility'charnier2002-04-201-2/+3
|
* find.1 does not encourage users to DTRT when piping to xargs(1)trhodes2002-04-101-0/+7
| | | | | | | PR: 36602 Submitted by: Joshua Goodall <joshua@roughtrade.net> No objections from: ru MFC after: 2 days
* Run find.1 through ispell.keramida2002-04-011-1/+1
| | | | | | PR: docs/36601 Submitted by: Joshua Goodall <joshua@roughtrade.net> MFC after: 3 days
* Add a missing comma.ru2001-11-201-1/+1
|
* Document -depthobrien2001-10-061-0/+13
|
* Bloat find(1) even more, and introduce the conceptru2001-09-141-6/+61
| | | | | | | | of time units to be used with -[acm]time primaries. Based on patch from Nils M Holm <nmh@t3x.org>. PR: bin/29165, bin/30309
OpenPOWER on IntegriCloud