snj
f0a7346d21
src is too big these days to tolerate superfluous apostrophes. It's
...
"its", people!
2014-10-18 08:33:23 +00:00
apb
ba94e92b25
Add an example with find ... -exec sh -c ....
2014-05-17 11:31:40 +00:00
uebayasi
1a3fcd0b6a
find(1): Compare timestamp in nsec scale in -anewer/-cnewer/-newer.
2013-05-04 06:29:32 +00:00
wiz
6ba5c58891
Add serial commas.
...
From Bug Hunting.
2013-02-08 12:50:51 +00:00
christos
792c142038
use O_CLOEXEC, wrap long line.
2013-01-24 17:50:08 +00:00
njoly
bee4003ac7
Remove a few unneeded Pp macros.
2012-10-13 14:18:16 +00:00
wiz
30cf30e561
Make order of words in comment consistent with that within other
...
comments (helps with search actions).
Patch from Bug Hunting.
2012-08-26 14:26:37 +00:00
wiz
87cd44cb03
- improve spelling;
...
- improve wording;
- complement list of primaries that prevent `-print' from being
used implicitly;
- bump date.
Patch from Bug Hunting.
2012-08-26 14:26:07 +00:00
wiz
fcb39fb954
Various improvements:
...
- remove redundant mentioning of option names within their description;
- improve (and make consistent) punctuation;
- add missing empty line;
- remove superfluous white space;
- extend `-iname' primary description (copying text from `-name');
- general wording improvements;
- improve macro usage;
- remove double spaces from examples (it's readable well without);
- reference re_format(7) in `SEE ALSO' (as it's mentioned in the
text several times);
- bump date.
From Bug Hunting.
2012-08-16 13:34:10 +00:00
wiz
471b14b657
- Even if it may be obvious, actually explain what ``{}'' means
...
with ``-exec ... {} +'';
- make wording more consistent;
- bump date.
From Bug Hunting.
2012-07-07 20:45:09 +00:00
jdf
6e4b17c46b
Small fix: Changed 'Nm .' to 'Nm' (introduced by me before).
2012-06-27 22:57:27 +00:00
jdf
ebac77ef57
Various formatting changes:
...
* Remove superfluous Pp macro (fixes mandoc(1) warning)
* use Xr macro instead of Nm where appropriate
* escape punctuation (so Ic actually 'sees' it) (fixed mandoc(1) warning)
* remove redundant argument to successive Nm macros
* remove double spaces
Patch supplied by Bug Hunting.
2012-06-27 22:31:26 +00:00
wiz
28acebf1eb
Improve wording and macro usage; bump date.
...
From Bug Hunting.
2012-06-20 17:55:06 +00:00
dholland
1d1104dd8c
rest of previous.
...
BQS: 1. dholland: 0.
2012-05-05 21:16:16 +00:00
dholland
f88a50da82
typo in comment
2012-05-05 20:48:51 +00:00
wiz
3957bea1ef
Fix whitespace nits. Suggested by Bug Hunting.
2012-03-22 07:58:16 +00:00
matt
d34c2845b8
Use C89 function definitions
2012-03-20 20:34:57 +00:00
dholland
83889b37fd
Avoid testing a possibly uninitialized errno value when using -exit.
...
Closes PR 44973 (change is a somewhat more principled equivalent of
the patch suggested there) although I cannot replicate the reported
behavior unless I explicitly prepare errno with a nonzero value before
the fts_read loop.
2012-03-18 17:09:46 +00:00
apb
aaffb7873e
Updates to the find(1) man page, based on PR 45381 from Greg Woods,
...
with additional changes by myself.
2011-09-24 13:45:43 +00:00
christos
8624929e77
Fix unchecked malloc, check for overflow (Maksymilian Arciemowicz)
...
While here, remove unused casts, fix types.
2011-09-22 12:49:57 +00:00
joerg
6818646ac8
Use __dead
2011-09-16 15:39:25 +00:00
plunky
9f61b80465
NULL does not need a cast
2011-08-31 16:24:54 +00:00
jmcneill
e816b5f7a6
Don't error out while searching for empty directories, from FreeBSD:
...
http://lists.freebsd.org/pipermail/svn-src-head/2010-December/022913.html
2011-02-24 02:55:18 +00:00
dholland
f4f54a9c39
Fix "-exec blah blah {} +" so it only matches when the {} is last, as
...
per the standard. Per (brief) discussion on tech-userlevel.
There should really be a form where you can do the equivalent of
"-exec blah {} blah +", but I think we're going to need to call it
something other than -exec. As it is it's sort of surprising that the
standards people didn't add a different name -- note what happens if
you try to do something like "find ... -exec expr {} + 2 \;".
2011-01-06 08:18:42 +00:00
christos
d6d145ee46
only setup siginfo handler if we have a tty.
2010-12-28 15:28:31 +00:00
christos
a6dac2b7b7
The SIGINFO changes made the sigprocmask syscalls dominate all the rest:
...
- Don't bother dealing with signal masks if we are not connected to a tty.
- Compute the blocking mask only once.
- Only do the block-unblock game only when we are going to do something
(execute, print a warning, etc.)
2010-12-27 16:09:46 +00:00
wiz
fcf318eda4
Fix typos found by Ryo HAYASAKA in PR 43857.
...
While here, split file systems that grew together.
2010-09-09 11:42:13 +00:00
dsl
fe39abeba9
Clarify (hopefully) the description of -remove.
...
Fixes PR/38987
2009-11-06 21:03:12 +00:00
joerg
63ec927bcc
Use -compact + explicit .Pp instead of .sp with negative line length.
2009-10-15 02:26:38 +00:00
lukem
c1ceae17f0
Enable WARNS=4 by default for usr.bin, except for:
...
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
2009-04-14 22:15:16 +00:00
wiz
1ee045f360
Fix first part of PR 38987 by Robert Elz:
...
.Dq needs punctuation quoted to mark it up.
I leave 2) and 3) of that PR open for someone else...
2009-01-04 12:13:56 +00:00
christos
8663e57614
fix dev_t format
2008-12-29 00:53:43 +00:00
lukem
98e5374ccb
Remove the \n and tabs from the __COPYRIGHT() strings.
...
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
lukem
1db82cf8e6
revert previous thinko
2007-09-25 04:10:12 +00:00
lukem
2212f6b672
remove unnecessary #include
2007-09-25 04:09:03 +00:00
daniel
02dcfb175e
Add the '-E' option to interpret regexes as extended regexes. While we
...
are here, fix ordering in usage information by putting '-X' in the proper
place.
Addition of '-E' was discussed on tech-userlevel.
2007-07-19 07:49:30 +00:00
christos
b1b89f5d46
eliminate MFSNAMELEN
2007-07-17 21:35:29 +00:00
wiz
08287ce407
Remove macrobreaking whitespace.
2007-03-08 21:23:00 +00:00
perry
851b2b6abe
Add a missing "can". Update date.
2007-02-08 13:32:53 +00:00
perry
9cf20bf4dc
make -rm an alias for -delete
2007-02-06 15:33:22 +00:00
perry
bf9831bfd2
Document -rm as an alias for -delete, and document that both -delete
...
and -rm are extensions.
2007-02-06 15:33:21 +00:00
elad
a706fb0965
Add -delete from FreeBSD.
2007-02-06 13:25:01 +00:00
christos
ca93cf9ea4
fix spello (from Anon Ymous)
2007-02-02 15:48:54 +00:00
wiz
b7d64c2725
Fix typo.
2007-02-02 07:27:15 +00:00
christos
a9ee9264a7
document -xdev [from Anon Ymous]
2007-02-01 19:00:16 +00:00
he
cb49bdddc9
Adapt find to the move of string_to_flags() and flags_to_string() to
...
libutil.
2006-12-14 20:55:56 +00:00
christos
1dcd74fde3
eliminate alloca use.
2006-11-09 20:50:53 +00:00
tacha
7a76839cea
All members of PLAN should be initialized.
2006-10-12 08:46:18 +00:00
apb
2eed134b40
De-__P(), remove trailing spaces, sprinkle a few const, WARNS=4.
2006-10-11 19:51:10 +00:00
apb
bfb3f336ef
Document "find ... -exec ... {} +". Also make some other minor updates.
...
Changes initially supplied by John Hawkinson in PR 20470, but edited by me.
/msg wizd: search for ".sp"
2006-10-07 17:06:28 +00:00