summaryrefslogtreecommitdiff
path: root/usr.bin/find/function.c
AgeCommit message (Collapse)Author
2000-03-16Cosmetic changes.enami
1999-11-09Since our gcc doesn't warn about NULL format strings anymore, we candrochner
fix the incorrect err(1, "%s", "") et al. Closes PR bin/7592 by cgd.
1999-07-20add -regex and -iregex primaries which, like GNU find's primaries of thecgd
same name, match files' entire paths against regular expressions. -regex is case sensitive, -iregex is case-insensitive. Note that these primaries are _not_ entirely compatible with the GNU find primaries, because their BREs appear to support alternation with \| whereas our BREs do not. Also note there are no primaries which provide extended regular expressions matching, though if they are desired they would be trivial to implement.
1999-02-04Don't choke on file size specifications (legitimately) exceeding LONG_MAX.kleink
1999-01-16Add GNU-style -{a,c,m}min primaries.simonb
1999-01-12Add support for -printx, which quotes pathnames in an xargs friendly way.lukem
From [bin/6790] by Eric Fischer <eric@fudge.uchicago.edu>
1999-01-03Add support for "-flags [-]flags", which matches the file flags in alukem
similar way that "-perm [-]mode" matches the file mode.
1998-11-06we don't need sys/ucred.hchristos
1998-10-14init mask to silence -Wallwsanchez
1998-02-21Simplify the function calling code and warnsify.christos
1998-02-03remove getvfsbyname cruft.mrg
1998-02-02merge lite2, sans getvfsbyname in functions.c (waiting on libc)mrg
1997-10-19fix .Nm usage, deprecate register, mostly WARNSify (needs minor rewrite to fix)lukem
1997-02-01remove second RCS-Id line.matthias
1997-01-30finding whiteouts didn't work.matthias
1997-01-09RCS ID policetls
1996-05-21add support for whiteouts. pr#2394 (Mike Long <mike.long@analog.com>)mrg
1995-06-18don't assume f_fstypename is larger than MFSNAMELEN or is nul-terminatedcgd
1994-10-18Get rid of a redundant sanity check.mycroft
1994-10-18Always save both the mount flags and the file system type when crossing amycroft
mount point. From John Kohl.
1994-04-14fstypes will be strings sooncgd
1994-02-16-nouser and -nogroup tests were negated.andrew
1994-01-21Flush stdout and stderr before processing an -exec (or -ok), so the outputjtc
of the exec'd command and find's output will be correctly interspersed. (Bug noticed by Terry Lambert, of FreeBSD. Fix by me).
1993-12-30Merged our bugfixes with the 4.4BSD find from uunet.jtc
1993-10-27Added -print0 (like GNU find). This will allow file names that containjtc
newlines to be correctly interpreted by programs that process find output.
1993-09-16fix to the 'size' primary; -size <n>c didn't work. fromcgd
Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
1993-08-06for new fts libraryderaadt
1993-08-01Add RCS identifiers.mycroft
1993-06-16Update source to use posix fnmatchjtc
1993-04-10Reverse sense of fnmatch() to match POSIX.mycroft
1993-03-24added support for "kernfs" and "fdesc" to -fstypecgd
1993-03-24fixed fact that "rdonly" wasn't supported by -fstype, but the mancgd
page said it was. also fixed multiple fstype checks on the same partition
1993-03-21initial import of 386bsd-0.1 sourcescgd