Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement -ls and -fls | Tavian Barnes | 2017-03-11 | 1 | -11/+50 |
| | |||||
* | Make a printf()-style API for colored messages | Tavian Barnes | 2017-03-11 | 1 | -104/+81 |
| | |||||
* | Allow short-circuiting optimizations with non-pure operands | Tavian Barnes | 2017-02-11 | 1 | -14/+38 |
| | |||||
* | parse: Factor out all "looks like icmp" checks | Tavian Barnes | 2017-02-09 | 1 | -11/+16 |
| | |||||
* | Add support for -x?type with multiple types | Tavian Barnes | 2017-02-08 | 1 | -34/+59 |
| | | | | This functionality is already part of GNU findutils git. | ||||
* | Bail out if parse_root() fails | Tavian Barnes | 2017-02-07 | 1 | -44/+88 |
| | | | | | | Previously, skip_paths() did not distinguish between end-of-arguments and parse_root() failing, returning NULL in both cases. If parse_root() failed, parsing would attempt to continue, in an unexpected state. | ||||
* | Add some missing perror() calls | Tavian Barnes | 2017-02-07 | 1 | -14/+18 |
| | |||||
* | Implement -printf/-fprintf | Tavian Barnes | 2017-02-05 | 1 | -4/+68 |
| | | | | | Based on a patch by Fangrui Song <i@maskray.me>. Closes #16. | ||||
* | Implement -nouser and -nogroup | Tavian Barnes | 2017-02-04 | 1 | -0/+16 |
| | |||||
* | Add some text to the -help output | Tavian Barnes | 2016-12-20 | 1 | -1/+27 |
| | |||||
* | Implement -mnewer | Tavian Barnes | 2016-12-20 | 1 | -0/+1 |
| | |||||
* | Add tera and peta suffices for -size | Tavian Barnes | 2016-12-20 | 1 | -1/+7 |
| | |||||
* | Implement -sparse from FreeBSD find | Tavian Barnes | 2016-12-20 | 1 | -0/+8 |
| | |||||
* | Support -[gu]id NAME like BSD find | Tavian Barnes | 2016-12-20 | 1 | -24/+10 |
| | |||||
* | Don't check errno after get{gr,pw}nam() | Tavian Barnes | 2016-12-20 | 1 | -24/+6 |
| | | | | | Turns out it doesn't always keep errno 0, even if the only problem is a failed lookup. This was observed on a machine with Kerberos auth. | ||||
* | Implement BSD find's -depth N | Tavian Barnes | 2016-12-18 | 1 | -1/+18 |
| | |||||
* | Add support for -x (same as -mount/-xdev, from BSD) | Tavian Barnes | 2016-12-18 | 1 | -0/+1 |
| | |||||
* | Implement -regex, -iregex, and -regextype/-E | Tavian Barnes | 2016-12-18 | 1 | -2/+114 |
| | |||||
* | Move portability code into util.h | Tavian Barnes | 2016-12-04 | 1 | -0/+1 |
| | |||||
* | bftw: Make bftw_flags more similar to fts() options. | Tavian Barnes | 2016-11-21 | 1 | -9/+9 |
| | |||||
* | Support -perm +MODE for symbolic modes. | Tavian Barnes | 2016-11-21 | 1 | -4/+0 |
| | | | | Only things like -perm +777 are disallowed by GNU find. | ||||
* | parse: Don't print warnings if standard in is not a terminal. | Tavian Barnes | 2016-11-13 | 1 | -1/+1 |
| | |||||
* | Implement -perm. | Tavian Barnes | 2016-10-29 | 1 | -9/+268 |
| | |||||
* | parse: Use free_expr(expr), not free(expr). | Tavian Barnes | 2016-10-24 | 1 | -7/+7 |
| | |||||
* | Implement -ignore_readdir_race. | Tavian Barnes | 2016-10-24 | 1 | -5/+19 |
| | |||||
* | Check for POSIX timers before using them. | Tavian Barnes | 2016-10-24 | 1 | -2/+25 |
| | |||||
* | bftw: Add support for some exotic file types, where available. | Tavian Barnes | 2016-10-02 | 1 | -0/+3 |
| | |||||
* | parse: Ignore -- on the command line. | Tavian Barnes | 2016-10-02 | 1 | -5/+21 |
| | | | | | | | | | | | | | | | | | | find uses -- to indicate the end of the flags. That is, $ find -L -- -type f is allowed, but $ find -- -L -type f results in an error about an unknown predicate `-L`. This behaviour doesn't seem particularly useful -- in particular, unlike most other tools, it doesn't help you if you want to specify a filename beginning with a -. So to ensure bfs is compatible with all GNU find command lines, we just ignore -- whenever it appears. | ||||
* | Give suggestions for operators too. | Tavian Barnes | 2016-09-06 | 1 | -19/+47 |
| | |||||
* | Use the two-star list augmenting method. | Tavian Barnes | 2016-09-05 | 1 | -8/+4 |
| | |||||
* | Require -{min,max}depth argument to be positive. | Tavian Barnes | 2016-09-04 | 1 | -1/+1 |
| | |||||
* | Implement typo detection for literals. | Tavian Barnes | 2016-09-04 | 1 | -1/+12 |
| | |||||
* | Use a table-driven parser for literals. | Tavian Barnes | 2016-09-04 | 1 | -291/+281 |
| | |||||
* | Implement -f PATH from BSD find. | Tavian Barnes | 2016-07-13 | 1 | -1/+28 |
| | |||||
* | Use a linked list to store the root paths. | Tavian Barnes | 2016-07-13 | 1 | -23/+38 |
| | |||||
* | Implement -D rates. | Tavian Barnes | 2016-06-28 | 1 | -11/+30 |
| | |||||
* | Use underscores. | Tavian Barnes | 2016-06-19 | 1 | -24/+24 |
| | |||||
* | Re-work optimization levels. | Tavian Barnes | 2016-06-09 | 1 | -5/+15 |
| | | | | | | -O3 is the new default, for the future cost-based optimizer. -O4 enables the surprising/aggressive optimizations that used to be under -O3. -Ofast is a synonym for -O4. | ||||
* | Allow flags like -L before ',' or ')' as pathnames. | Tavian Barnes | 2016-06-09 | 1 | -17/+34 |
| | |||||
* | Implement -fprint and -fprint0. | Tavian Barnes | 2016-06-08 | 1 | -2/+86 |
| | |||||
* | Optimize ( ! x , y ) <==> ( x , y ) | Tavian Barnes | 2016-06-08 | 1 | -2/+14 |
| | |||||
* | Treat '-', ')', and ',' as paths when possible. | Tavian Barnes | 2016-06-08 | 1 | -34/+62 |
| | |||||
* | Remove redundant pure expressions from the top level. | Tavian Barnes | 2016-06-07 | 1 | -5/+28 |
| | |||||
* | Optimize using De Morgan's laws. | Tavian Barnes | 2016-06-07 | 1 | -0/+61 |
| | |||||
* | Warn on things like "-not -maxdepth 1". | Tavian Barnes | 2016-06-07 | 1 | -0/+6 |
| | |||||
* | Move purity optimizations to -O2. | Tavian Barnes | 2016-06-07 | 1 | -10/+12 |
| | |||||
* | Implement -D opt. | Tavian Barnes | 2016-06-07 | 1 | -27/+81 |
| | |||||
* | At -O3, replace command lines with no actions by -false. | Tavian Barnes | 2016-06-07 | 1 | -0/+5 |
| | |||||
* | Use complete sentences in error messages consistently. | Tavian Barnes | 2016-05-22 | 1 | -3/+3 |
| | |||||
* | Use argc/argv naming consistently. | Tavian Barnes | 2016-05-22 | 1 | -71/+71 |
| |