OpenBSD CVS

CVS log for src/usr.bin/find/find.1


[BACK] Up to [local] / src / usr.bin / find

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.101 / (download) - annotate - [select for diffs], Thu Mar 31 17:27:24 2022 UTC (2 years, 1 month ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.100: +5 -5 lines
Diff to previous 1.100 (colored)

man pages: add missing commas between subordinate and main clauses

jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@

Revision 1.100 / (download) - annotate - [select for diffs], Sun Mar 7 15:25:15 2021 UTC (3 years, 2 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.99: +13 -4 lines
Diff to previous 1.99 (colored)

v1/v2 find is different to pwb/v5 find

Revision 1.99 / (download) - annotate - [select for diffs], Fri Aug 14 17:44:53 2020 UTC (3 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.98: +4 -5 lines
Diff to previous 1.98 (colored)

'!' does not need to be escaped;
confirmed by naddy and deraadt

Revision 1.98 / (download) - annotate - [select for diffs], Mon Sep 2 21:18:41 2019 UTC (4 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.97: +3 -3 lines
Diff to previous 1.97 (colored)

More correction of section 3 layout. directory->opendir, fts->fts_open,
getcap->cgetent.  pwcache->user_from_uid. And then repair references.
ok jmc

Revision 1.97 / (download) - annotate - [select for diffs], Fri Aug 23 12:48:14 2019 UTC (4 years, 8 months ago) by kn
Branch: MAIN
Changes since 1.96: +4 -4 lines
Diff to previous 1.96 (colored)

Use -delete in EXAMPLES

-delete is part of POSIX since 2001 and tedu added support for it in 2012,
-print0 however never made it into any standard, so replace this less
portable idiom with its more concise built-in counterpart.

Both -print0 as well as xargs(1) -0 explain and reference each other and
CAVEATS goes into detail with problematic file names, so no information
is lost by replacing this particular example.

While here, make the -exec example rm(1) multiple files at once.

Feedback from claudio tb
Input and OK millert

Revision 1.96 / (download) - annotate - [select for diffs], Thu Dec 6 17:45:14 2018 UTC (5 years, 5 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.95: +5 -3 lines
Diff to previous 1.95 (colored)

add -not as a sh friendly alias for !.
ok millert

Revision 1.95 / (download) - annotate - [select for diffs], Wed Aug 1 07:09:15 2018 UTC (5 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.94: +7 -5 lines
Diff to previous 1.94 (colored)

document when -exec evaluates to true; from kris katterjohn
ok tb

while here, knock out a useless Tn;

Revision 1.94 / (download) - annotate - [select for diffs], Wed Aug 1 06:37:33 2018 UTC (5 years, 9 months ago) by tb
Branch: MAIN
Changes since 1.93: +3 -1 lines
Diff to previous 1.93 (colored)

Document that -delete and -execdir prevent -print from being assumed.
From Kris Katterjohn, thanks.

ok jmc

Revision 1.93 / (download) - annotate - [select for diffs], Tue Jan 3 22:19:31 2017 UTC (7 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.92: +6 -5 lines
Diff to previous 1.92 (colored)

tweak previous;

Revision 1.92 / (download) - annotate - [select for diffs], Tue Jan 3 21:31:16 2017 UTC (7 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.91: +20 -2 lines
Diff to previous 1.91 (colored)

add -delete option which can simplify the common case of wanting to delete
lots of files without the arcane -exec or error prone xargs.
code from freebsd.
ok millert

Revision 1.91 / (download) - annotate - [select for diffs], Fri Sep 11 18:58:16 2015 UTC (8 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

delete bogus escaping from ellipsis to forestall cargo cult effects

Revision 1.90 / (download) - annotate - [select for diffs], Sat Feb 28 21:51:56 2015 UTC (9 years, 2 months ago) by bentley
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.89: +3 -6 lines
Diff to previous 1.89 (colored)

Reduce usage of predefined strings in manpages.

Predefined strings are not very portable across troff implementations,
and they make the source much harder to read. Usually the intended
character can be written directly.

No output changes, except for two instances where the incorrect escape
was used in the first place.

tweaks + ok schwarze@

Revision 1.89 / (download) - annotate - [select for diffs], Wed Dec 3 19:39:57 2014 UTC (9 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.88: +12 -34 lines
Diff to previous 1.88 (colored)

document -o and -a; requested by yon
i had to tweak their descriptions a little to make the text read nicely

while here, fix some minor issues:
- kill some unneeded Xo/Xc
- kill some unneeded Tn
- replace "\*Gt" with ">"

Revision 1.88 / (download) - annotate - [select for diffs], Thu Mar 20 08:49:32 2014 UTC (10 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.87: +13 -21 lines
Diff to previous 1.87 (colored)

- use more portable -o in examples, requested by millert and sobrado
- tweak STANDARDS to make the note about -and and -or a little clearer
- remove some gnu clutter

ok millert sobrado

Revision 1.87 / (download) - annotate - [select for diffs], Mon Jan 20 05:07:48 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.86: +3 -4 lines
Diff to previous 1.86 (colored)

Obvious .Xr fixes, found while testing mandocdb(8).

Revision 1.86 / (download) - annotate - [select for diffs], Thu Mar 14 20:30:41 2013 UTC (11 years, 2 months ago) by halex
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.85: +4 -4 lines
Diff to previous 1.85 (colored)

-follow is the same as -L, not -H
second occurance pointed out by Jeremie Courreges-Anglas, thanks!

ok guenther@ on the first occurance

Revision 1.85 / (download) - annotate - [select for diffs], Thu Jan 5 13:16:10 2012 UTC (12 years, 4 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored)

-execdir only supports the first form of -exec with ; suffix, not the new
form with {} + suffix; make this clear in the manual. Text suggested by jmc@

Revision 1.84 / (download) - annotate - [select for diffs], Tue Jan 3 08:42:00 2012 UTC (12 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.83: +41 -9 lines
Diff to previous 1.83 (colored)

- use more consistent markup
- reformat the list of primaries such that the two -exec items are
listed without vertical whitespace seperating them

Revision 1.83 / (download) - annotate - [select for diffs], Mon Jan 2 23:19:45 2012 UTC (12 years, 4 months ago) by pascal
Branch: MAIN
Changes since 1.82: +35 -15 lines
Diff to previous 1.82 (colored)

Add support for "find ... -exec foo {} \+".

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@

Revision 1.82 / (download) - annotate - [select for diffs], Sun Feb 13 12:35:02 2011 UTC (13 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.81: +4 -3 lines
Diff to previous 1.81 (colored)

As noticed by Clint Pachl <pachl at ecentryx dot com>,
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@

Revision 1.81 / (download) - annotate - [select for diffs], Wed Sep 29 07:44:56 2010 UTC (13 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.80: +7 -2 lines
Diff to previous 1.80 (colored)

various EXIT STATUS fixes; from Daniel Dickman

Revision 1.80 / (download) - annotate - [select for diffs], Mon Sep 20 07:03:10 2010 UTC (13 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored)

oops! missing quote in previous;

Revision 1.79 / (download) - annotate - [select for diffs], Sun Sep 19 23:48:58 2010 UTC (13 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.78: +32 -12 lines
Diff to previous 1.78 (colored)

Shorten text pointing from -X to -print0.
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@

Revision 1.78 / (download) - annotate - [select for diffs], Thu Jul 15 20:51:38 2010 UTC (13 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.77: +4 -4 lines
Diff to previous 1.77 (colored)

More delimiters that need quoting inside macros, hunted down by jmc@,
who asked me to commit because he is just running out of the door.

Revision 1.77 / (download) - annotate - [select for diffs], Wed Feb 3 00:08:15 2010 UTC (14 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.76: +12 -32 lines
Diff to previous 1.76 (colored)

make it clear that -iname supports globbing;
refer to glob(7) for more precision;
add some relevant and remove some not so relevant .Xrs;
ok jmc@

Revision 1.76 / (download) - annotate - [select for diffs], Sun Dec 20 20:19:49 2009 UTC (14 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.75: +10 -8 lines
Diff to previous 1.75 (colored)

Use the standard wording, requested by jmc@.
Actually, this is much closer to the original submission by Daniel Dickmann.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Dec 20 16:15:26 2009 UTC (14 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.74: +8 -2 lines
Diff to previous 1.74 (colored)

find -LH was -L, but must be -H according to POSIX;
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@

Revision 1.74 / (download) - annotate - [select for diffs], Thu Apr 9 14:30:39 2009 UTC (15 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.73: +5 -1 lines
Diff to previous 1.73 (colored)

min/maxdepth do not observe +-;
reported by x, but different fix taken

Revision 1.73 / (download) - annotate - [select for diffs], Sun Feb 8 17:33:01 2009 UTC (15 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.72: +2 -3 lines
Diff to previous 1.72 (colored)

updates to IEEE Std 1003.1-2008;

Revision 1.72 / (download) - annotate - [select for diffs], Sun Feb 8 17:15:09 2009 UTC (15 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;

Revision 1.71 / (download) - annotate - [select for diffs], Wed Jan 28 08:09:36 2009 UTC (15 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

since -g is always overridden by -l in ls(1), the equivalent of the
-ls primary is better described as "ls -dils" than "ls -dgils";

Revision 1.70 / (download) - annotate - [select for diffs], Mon Sep 29 18:16:29 2008 UTC (15 years, 7 months ago) by kili
Branch: MAIN
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)


Add a missing `|' to the description of -perm.

ok jmc@

Revision 1.69 / (download) - annotate - [select for diffs], Thu May 31 19:20:10 2007 UTC (16 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

convert to new .Dd format;

Revision 1.68 / (download) - annotate - [select for diffs], Wed May 30 04:41:34 2007 UTC (16 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.67: +4 -5 lines
Diff to previous 1.67 (colored)

- use a consistent text for STANDARDS
- note which options are extensions to POSIX

Revision 1.67 / (download) - annotate - [select for diffs], Wed Oct 11 19:19:37 2006 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

hmm, slightly reword the previous to sound less like a susv3 cut/paste,
thus also avoiding a line split that was annoying me;

Revision 1.66 / (download) - annotate - [select for diffs], Wed Oct 11 19:16:27 2006 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.65: +12 -10 lines
Diff to previous 1.65 (colored)

some important information about how find(1) works was tucked away
under -print, and slightly inaccurate anway; move it up into
DESCRIPTION and correct it;

from otto and myself

Revision 1.65 / (download) - annotate - [select for diffs], Wed Oct 11 16:10:32 2006 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.64: +5 -7 lines
Diff to previous 1.64 (colored)

improve markup a wee bit;

Revision 1.64 / (download) - annotate - [select for diffs], Wed Oct 11 13:03:31 2006 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.63: +5 -12 lines
Diff to previous 1.63 (colored)

a little macro cleanup;

Revision 1.63 / (download) - annotate - [select for diffs], Wed Oct 11 12:26:00 2006 UTC (17 years, 7 months ago) by otto
Branch: MAIN
Changes since 1.62: +11 -1 lines
Diff to previous 1.62 (colored)

Suggest to use xargs(1) and give an example; started by jmc, ok jmc@

Revision 1.62 / (download) - annotate - [select for diffs], Wed Oct 11 11:46:04 2006 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.61: +10 -17 lines
Diff to previous 1.61 (colored)

in EXAMPLES:
- 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

Revision 1.61 / (download) - annotate - [select for diffs], Wed Oct 11 10:03:28 2006 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.60: +4 -1 lines
Diff to previous 1.60 (colored)

for -depth, -follow, and -xdev, note that they always evaluate to true;
ok otto

Revision 1.60 / (download) - annotate - [select for diffs], Tue Oct 10 12:20:01 2006 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.59: +6 -2 lines
Diff to previous 1.59 (colored)

get the spacing right for -ok too; i missed this in my previous commit.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Oct 10 10:55:05 2006 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.58: +11 -3 lines
Diff to previous 1.58 (colored)

get the spacing right for -exec and -execdir; ok otto

Revision 1.58 / (download) - annotate - [select for diffs], Tue Oct 10 10:17:36 2006 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.57: +3 -7 lines
Diff to previous 1.57 (colored)

add an example of -exec {} and remove a less useful example; ok otto

Revision 1.57 / (download) - annotate - [select for diffs], Thu Oct 5 07:52:30 2006 UTC (17 years, 7 months ago) by otto
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

-iname is a primary, not an option. ok jmc@

Revision 1.56 / (download) - annotate - [select for diffs], Thu Oct 5 07:41:04 2006 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.55: +12 -2 lines
Diff to previous 1.55 (colored)

document -depth and -xdev: although we have options which do the same,
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

Revision 1.55 / (download) - annotate - [select for diffs], Wed Oct 4 14:25:31 2006 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.54: +12 -7 lines
Diff to previous 1.54 (colored)

- bump latest posix version
- 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

Revision 1.54 / (download) - annotate - [select for diffs], Mon Oct 2 08:05:32 2006 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.53: +14 -14 lines
Diff to previous 1.53 (colored)

remove some unneccessary escaping;

Revision 1.53 / (download) - annotate - [select for diffs], Sun Oct 1 11:30:53 2006 UTC (17 years, 7 months ago) by otto
Branch: MAIN
Changes since 1.52: +5 -6 lines
Diff to previous 1.52 (colored)

rewrite the piece about separate arguments to not confuse jmc@.
ok jmc@ kettenis@

Revision 1.52 / (download) - annotate - [select for diffs], Tue Sep 26 18:21:28 2006 UTC (17 years, 7 months ago) by otto
Branch: MAIN
Changes since 1.51: +6 -5 lines
Diff to previous 1.51 (colored)

clear up some confusion between operands and operators; with & ok jmc@

Revision 1.51 / (download) - annotate - [select for diffs], Sun Sep 24 09:10:09 2006 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

do not suggest that !expression and (expression) (without spaces) is valid;

"from sander bos, with credit to peter bex"
ok otto

Revision 1.50 / (download) - annotate - [select for diffs], Tue Dec 27 12:24:37 2005 UTC (18 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

move the BUGS section to CAVEATS, since both the points listed
are hardly bugs;

prompted by j. c. roberts;
ok krw millert ian

Revision 1.49 / (download) - annotate - [select for diffs], Sat Oct 1 06:01:27 2005 UTC (18 years, 7 months ago) by otto
Branch: MAIN
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored)

Fix description of -flags. Noted by Magnus Ehman in PR 4527. ok jmc@ jaredy@

Revision 1.48 / (download) - annotate - [select for diffs], Wed Jun 15 14:19:45 2005 UTC (18 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.47: +2 -14 lines
Diff to previous 1.47 (colored)

no more whiteouts

Revision 1.47 / (download) - annotate - [select for diffs], Mon Mar 14 15:29:15 2005 UTC (19 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.46: +3 -2 lines
Diff to previous 1.46 (colored)

make the OPERATORS list -compact: this avoids the nasty line split
between 2 list items that are logically linked;

Revision 1.46 / (download) - annotate - [select for diffs], Mon Mar 14 15:25:38 2005 UTC (19 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.45: +8 -1 lines
Diff to previous 1.45 (colored)

add an example showing how to use -prune to skip a directory whilst
searching;

help from otto; requested by fgsch;
ok otto@ fgsch@

Revision 1.45 / (download) - annotate - [select for diffs], Mon Mar 14 15:22:27 2005 UTC (19 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.44: +4 -8 lines
Diff to previous 1.44 (colored)

simplify the description of -d to avoid confusion;
ok otto@ millert@

Revision 1.44 / (download) - annotate - [select for diffs], Sun Mar 13 00:17:19 2005 UTC (19 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

maintain alphabetical order in primaries list;

Revision 1.43 / (download) - annotate - [select for diffs], Mon Feb 7 20:45:40 2005 UTC (19 years, 3 months ago) by jaredy
Branch: MAIN
Changes since 1.42: +25 -20 lines
Diff to previous 1.42 (colored)

rename "file" to "path" in usage, it's clearer

from Michael Knudsen <e@molioner.dk>

ok jmc millert

and rearrange man page EXAMPLES while here

Revision 1.42 / (download) - annotate - [select for diffs], Tue Feb 24 07:20:38 2004 UTC (20 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.41: +11 -11 lines
Diff to previous 1.41 (colored)

- remove double spaces in the examples
- `W' before `X'
- sync usage()

ok millert@

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jan 23 19:38:13 2004 UTC (20 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.40: +7 -5 lines
Diff to previous 1.40 (colored)

Clarify find -X and Xr xargs(1).  Based on a diff from and OK by jmc@

Revision 1.40 / (download) - annotate - [select for diffs], Tue Sep 2 18:50:06 2003 UTC (20 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.39: +6 -6 lines
Diff to previous 1.39 (colored)

escape punctuation;
ok deraadt@

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jun 12 04:30:07 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.38: +3 -1 lines
Diff to previous 1.38 (colored)

Add an example using -prune at Theo's request.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:08 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.37: +2 -6 lines
Diff to previous 1.37 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Mar 7 06:30:38 2003 UTC (21 years, 2 months ago) by david
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

spelling errors/typos
ok jmc@

Revision 1.36 / (download) - annotate - [select for diffs], Thu Nov 14 02:57:27 2002 UTC (21 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.35: +5 -5 lines
Diff to previous 1.35 (colored)

use $ or # before commands in examples

Revision 1.35 / (download) - annotate - [select for diffs], Fri May 17 15:04:32 2002 UTC (22 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.34: +16 -11 lines
Diff to previous 1.34 (colored)

The standard way to get info on symlinks is -L, not -h; Peter Werner

Revision 1.34 / (download) - annotate - [select for diffs], Wed Aug 22 23:43:13 2001 UTC (22 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.33: +5 -2 lines
Diff to previous 1.33 (colored)

expression is optional

Revision 1.33 / (download) - annotate - [select for diffs], Wed Aug 22 23:02:48 2001 UTC (22 years, 9 months ago) by hugh
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Since we're in pedant mode again, we might as well be thorough. It's
bad form to assume that the absence of an expression will default to
"-print", as one may still encounter versions of find where this is
not the case. The examples given are all careful to use an explicit
"-print", so follow their lead and mark the expression as a required
field even though find will run without one.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Aug 22 16:50:50 2001 UTC (22 years, 9 months ago) by heko
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

o Expression is an optional argument to find(1);
  noticed by Brian Poole <raj@cerias.purdue.edu>
o File is not an optional argument
o The section name referenced in beginning of the manual page
  is "operators" so don't confuse people by speaking about
  "operands"
Ok aaron@

Revision 1.31 / (download) - annotate - [select for diffs], Wed Mar 14 22:08:33 2001 UTC (23 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

formatting error; m@procyon.com

Revision 1.30 / (download) - annotate - [select for diffs], Fri Nov 10 05:10:26 2000 UTC (23 years, 6 months ago) by aaron
Branch: MAIN
Changes since 1.29: +6 -6 lines
Diff to previous 1.29 (colored)

- Section shuffling: comply to the section ordering outlined in mdoc(7).
- Some .Nm trimming.
- .Sh AUTHOR -> .Sh AUTHORS
- Other miscellaneous fixes here and there.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jul 10 14:32:41 2000 UTC (23 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

Xr chflags(1)

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jul 8 16:09:33 2000 UTC (23 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.27: +18 -1 lines
Diff to previous 1.27 (colored)

Add a -flags option similar to -perm but for filke flags (ala
chflags).  Adapted from FreeBSD.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jun 7 15:25:30 2000 UTC (23 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.26: +10 -1 lines
Diff to previous 1.26 (colored)

-iname support; karls@inet.no

Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 7 21:11:08 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

Various cleanup.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Mar 6 03:15:59 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
Changes since 1.24: +22 -16 lines
Diff to previous 1.24 (colored)

Add HISTORY sections; from FreeBSD.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Dec 4 22:42:31 1999 UTC (24 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.23: +8 -2 lines
Diff to previous 1.23 (colored)

o use nanosecond precision with the -newer option
o add -anewer and -cnewer options like GNU find.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Oct 7 19:15:24 1999 UTC (24 years, 7 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

Some Xr to find(1), locate(1), whatis(1), whereis(1), which(1), etc., as
appropriate.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jun 5 01:21:25 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.21: +204 -122 lines
Diff to previous 1.21 (colored)

- remove trailing white space
- remove arguments from .Os macros
- remove arguments from .Nm macros, where appropriate
- some more Dq/Sq/Ql insanity
- still lots to do in the usr.bin tree... :/

Revision 1.21 / (download) - annotate - [select for diffs], Wed May 26 03:29:58 1999 UTC (25 years ago) by aaron
Branch: MAIN
Changes since 1.20: +6 -2 lines
Diff to previous 1.20 (colored)

arguments to -perm option are `[-]mode', not `[-mode]'; from NetBSD

Revision 1.20 / (download) - annotate - [select for diffs], Sun May 2 16:34:33 1999 UTC (25 years ago) by aaron
Branch: MAIN
Changes since 1.19: +7 -7 lines
Diff to previous 1.19 (colored)

grammar; kwesterback@home.com

Revision 1.19 / (download) - annotate - [select for diffs], Wed Mar 17 17:36:30 1999 UTC (25 years, 2 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.18: +14 -4 lines
Diff to previous 1.18 (colored)

Add -W option so -type W gets a chance to work.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Feb 24 10:25:45 1999 UTC (25 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +4 -1 lines
Diff to previous 1.17 (colored)

-{a,c,m}min are extensions to posix

Revision 1.17 / (download) - annotate - [select for diffs], Wed Nov 11 23:01:43 1998 UTC (25 years, 6 months ago) by aaron
Branch: MAIN
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)

remove redundant .Pp macros

Revision 1.16 / (download) - annotate - [select for diffs], Sat Sep 26 19:54:43 1998 UTC (25 years, 7 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.15: +31 -43 lines
Diff to previous 1.15 (colored)

usr.bin/ man page fixes, f-m.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Nov 13 08:30:33 1997 UTC (26 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.14: +20 -1 lines
Diff to previous 1.14 (colored)

Add the primaries -mmin, -amin, -cmin to find, similar to the GNU find; wosch

Revision 1.14 / (download) - annotate - [select for diffs], Tue Nov 4 08:19:32 1997 UTC (26 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.13: +7 -4 lines
Diff to previous 1.13 (colored)

clarify

Revision 1.13 / (download) - annotate - [select for diffs], Wed Aug 27 08:57:55 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.12: +5 -4 lines
Diff to previous 1.12 (colored)

execdir is an extension of course

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 17 05:53:44 1997 UTC (26 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.11: +2 -3 lines
Diff to previous 1.11 (colored)

Back out last change.  Allowing no path to mean "." causes problems
with getopts vs. predicates.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 17 05:35:44 1997 UTC (26 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

If no paths are specified, use "."

Revision 1.10 / (download) - annotate - [select for diffs], Mon Dec 23 04:58:09 1996 UTC (27 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.9: +11 -1 lines
Diff to previous 1.9 (colored)

Add -execdir support.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Sep 1 07:26:45 1996 UTC (27 years, 8 months ago) by tholo
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.8: +5 -2 lines
Diff to previous 1.8 (colored)

Specify that new primaries -empty, -maxdepth and -mindepth are extensions

Revision 1.8 / (download) - annotate - [select for diffs], Sun Sep 1 04:56:25 1996 UTC (27 years, 8 months ago) by tholo
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

Add support for -empty

Revision 1.7 / (download) - annotate - [select for diffs], Sun Sep 1 04:30:16 1996 UTC (27 years, 8 months ago) by tholo
Branch: MAIN
Changes since 1.6: +5 -2 lines
Diff to previous 1.6 (colored)

Add support for -mindepth while at it

Revision 1.6 / (download) - annotate - [select for diffs], Sat Aug 31 22:40:19 1996 UTC (27 years, 8 months ago) by tholo
Branch: MAIN
Changes since 1.5: +5 -2 lines
Diff to previous 1.5 (colored)

Add support for -maxdepth option

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 26 05:33:08 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)

rcsid

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 11 11:33:31 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +7 -1 lines
Diff to previous 1.3 (colored)

document that -print0 is an alternative to -X

Revision 1.3 / (download) - annotate - [select for diffs], Tue May 28 12:31:18 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

support whiteouts; netbsd pr#2394; mike.long@analog.com

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jan 15 01:11:16 1996 UTC (28 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored)

from netbsd:
Document the -follow option, per David Brownlee <abs@mono.city.ac.uk>
in PR #1113.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:13 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:13 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.