You are not logged in.

#1 2013-05-09 06:21:08

flipcoder
Member
Registered: 2013-05-09
Posts: 1

treegrep - outline/tree-based grep (written in Rust)

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. smile

compile with:

rustc treegrep.rs -L /path/to/rust-pcre

Offline

Board footer

Powered by FluxBB