Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-08-01 | Move strlower() from find to lib. | Rob Landley | |
2015-07-10 | find: add -inum option | Greg Hackmann | |
-inum is a commonly implemented extension to search by inode number. Linux's fs-layer tracepoints log many events in terms of inodes, so "find -inum" is useful for mapping those events back to specific files. | |||
2015-05-10 | Cleanups of dirtree_start() calls. (Don't need to feed in flag values, just | Rob Landley | |
symfollow true/false.) | |||
2015-05-09 | Add DIRTREE_SHUTUP to disable dirtree warnings if file vanishes out from | Rob Landley | |
under traversal. Pass through full flag set in dirtree_add_node(), add dirtree_start() wrapper to provide symlink-only behavior (avoiding a lot of DIRTREE_SYMFOLLOW*!!(logic) repeated in callers). | |||
2015-03-21 | Another bug from David Halls: find -exec wasn't consuming its argument when ↵ | Rob Landley | |
it didn't activate. test: find . -name README -exec echo one '{}' ';' -or -exec echo two '{}' ';' | |||
2015-03-12 | Make find accept numeric uid/gid, and simplify makedevs using the new ↵ | Rob Landley | |
infrastructure. | |||
2015-03-02 | On 64 bit, subtracting two pointers produces a long result. On 32 bit, it's ↵ | Rob Landley | |
an int. Even though long _is_ 32 bits on a 32 bit systems, gcc warns about it because reasons. Also, the warning being that "expects int, but type is wchar_t"... no, type is not wchar_t. Type is probably long. Specify the ACTUAL TYPE, not the random typedef alias for it. If the translated type _did_ match, there wouldn't be a warning! (This is why c89 promoted all arguments to int, precisely so this wasn't a problem.) | |||
2014-11-22 | As long as Android's going to require fortify, fixup the warnings it generates. | Rob Landley | |
2014-09-14 | find -xdev should return mount points, just not contents. | Rob Landley | |
2014-09-14 | Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether ↵ | Rob Landley | |
we want to redirect both, one, or neither of stdin/stdout. | |||
2014-09-08 | Add error test and fix memory leak, reported by Ashwini Sharma. | Rob Landley | |
2014-08-07 | Fix -mindepth and -maxdepth to not drill down into excluded directories. | Rob Landley | |
The fact other implementations don't implement "! -mindepth" doesn't mean we can't. Also, find uses +N, N, -N for everything else but this extension doesn't. Also, -depth already had a definition and this has nothing to do with that. It's a poorly thought-out extension, is what I'm saying. | |||
2014-08-05 | More find bugfixes. | Rob Landley | |
2014-08-05 | Rereading posix find.c page: "Specifying more than one of the ↵ | Rob Landley | |
mutually-exclusive options -H and -L shall not be considered an error. The last option specified shall determine the behavior of the utility." | |||
2014-08-05 | find.c: Posix wants loop detection. | Rob Landley | |
2014-08-05 | Building busybox from source needs find -not (a synonym for posix's "!"). | Rob Landley | |
2014-08-04 | find.c: add -mindepth, -maxdepth, and document -newer and -depth. | Rob Landley | |
2014-08-03 | Implement exec -user, -group, and -newer. Enable find in defconfig. | Rob Landley | |
2014-08-02 | Unbreak find -exec. | Rob Landley | |
2014-07-30 | find.c: fix -iname. | Rob Landley | |
2014-07-29 | find.c: first pass at case case insensitivity and exec. (Needs more debugging.) | Rob Landley | |
2014-07-18 | Find bugfixes. | Rob Landley | |
The check for -print vs -print0 was tested before I optimized out the "-" in the strcmps, and I didn't adjust the offset or retest it. (Ooops.) Also, I wasn't clearing the ! value when descending into parentheticals, so "find . -name blah -o \! \( -stuff -o -thing \)" acted like it had a spurious second ! before -stuff inside the parentheses. | |||
2014-07-16 | Write a new find. Not quite done, but the basics work. | Rob Landley | |