You are not logged in.
Hi, I'm new here. Figured i'd share my first Rust program.
It's like grep, but works for trees, outlines, and when indentation matters (i.e. todo lists where you need the full context of a match).
There may still be bugs, but here it is anyway:
https://github.com/flipcoder/treegrep/b … reegrep.rs
You'll need rust-pcre:
https://github.com/uasi/rust-pcre
I'll be throwing it in the AUR as soon as I figure out how to do that.
compile with:
rustc treegrep.rs -L /path/to/rust-pcre
Offline