Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Implement -{exec,ok}{,dir}. | Tavian Barnes | 2016-05-22 | 1 | -5/+51 |
| | |||||
* | Implement -size. | Tavian Barnes | 2016-03-12 | 1 | -14/+108 |
| | |||||
* | Implement -used. | Tavian Barnes | 2016-03-05 | 1 | -0/+2 |
| | | | | | | This doesn't agree with find's output, but I think find is buggy here. For example, find -used +0 is returning fewer results than find -used 1, which makes no sense given that 1 is greater than 0. | ||||
* | Fix a typo that caused a segfault with missing arguments. | Tavian Barnes | 2016-02-27 | 1 | -1/+1 |
| | |||||
* | Implement (most of) -newerXY. | Tavian Barnes | 2016-02-27 | 1 | -0/+81 |
| | |||||
* | Fix -daystart to not round 0 upwards. | Tavian Barnes | 2016-02-27 | 1 | -3/+6 |
| | |||||
* | Implement -O. | Tavian Barnes | 2016-02-23 | 1 | -49/+79 |
| | |||||
* | Implement -D tree. | Tavian Barnes | 2016-02-23 | 1 | -206/+352 |
| | |||||
* | Implement -D stat. | Tavian Barnes | 2016-02-22 | 1 | -0/+40 |
| | |||||
* | Simplify double-negation. | Tavian Barnes | 2016-02-21 | 1 | -0/+5 |
| | |||||
* | Make optimizations based on the purity of predicates. | Tavian Barnes | 2016-02-21 | 1 | -42/+36 |
| | | | | | | | | This allows something like $ ./bfs -empty -false to avoid evaluating -empty, just like find. | ||||
* | -follow is a positional option. | Tavian Barnes | 2016-02-18 | 1 | -4/+4 |
| | |||||
* | Initialize expr.cmp for -user and -group. | Tavian Barnes | 2016-02-17 | 1 | -0/+2 |
| | |||||
* | Add missing "error:" tag to error messages. | Tavian Barnes | 2016-02-16 | 1 | -2/+2 |
| | |||||
* | Implement -user and -group. | Tavian Barnes | 2016-02-14 | 1 | -0/+83 |
| | |||||
* | Refactor color handling. | Tavian Barnes | 2016-02-14 | 1 | -47/+62 |
| | | | | The main benefit is colored warnings/errors during parsing. | ||||
* | Implement -lname and -ilname. | Tavian Barnes | 2016-02-14 | 1 | -1/+13 |
| | |||||
* | "Implement" -noleaf. | Tavian Barnes | 2016-02-14 | 1 | -0/+15 |
| | |||||
* | Implement -mount/-xdev. | Tavian Barnes | 2016-02-14 | 1 | -1/+7 |
| | |||||
* | Add brief -help and -version support. | Tavian Barnes | 2016-02-14 | 1 | -2/+59 |
| | |||||
* | Implement -iname and -ipath. | Tavian Barnes | 2016-02-13 | 1 | -4/+45 |
| | |||||
* | Implement -xtype. | Tavian Barnes | 2016-02-13 | 1 | -5/+10 |
| | |||||
* | More s/cl/cmdline/. | Tavian Barnes | 2016-02-13 | 1 | -45/+45 |
| | |||||
* | Implement -samefile. | Tavian Barnes | 2016-02-10 | 1 | -7/+41 |
| | |||||
* | Implement -L/-follow. | Tavian Barnes | 2016-02-09 | 1 | -2/+13 |
| | |||||
* | Implement -P and -H. | Tavian Barnes | 2016-02-04 | 1 | -1/+19 |
| |