v0.5.0 — multiple input files
What's new
Multiple input files. cull now takes any number of files/URLs, so globs just work:
cull 'a' -a href pages/*.html # links from every page, in order
cull 'img:not([alt])' -c site/*.html # per-file counts: site/x.html:4
cull '.error' -l logs/*.html # grep -l: names of matching files- New
-l/--files-with-matches(grep-lsemantics) -c/--countprintsfile:countlines when given multiple inputs-1/--firstapplies per input (likegrep -m1)-j --arraymerges matches from all inputs into a single JSON array- Unreadable inputs are reported on stderr and skipped; the rest still run (exit 2 at the end, like grep)
- Auto
--basestill resolves per-input when inputs are URLs
95 tests. Install: cargo install cull, cargo binstall cull, brew install rashida-thorne/cull/cull, or the curl|sh installer.