A lightweight, grep-like searcher written in Rust that uses a gremlin to finds patterns.
- As a means of learning the Rust programming language
// TODO
To install gremlin
, you can download the binaries here. Remember to put the path to the binary in your PATH
.
$ gremlin -h
gremlin 0.1.0
Alexander Garcia <https://alexandergarcia.me>
A grep-like pattern searcher
USAGE:
gremlin <pattern> [input]
ARGS:
<pattern> Pattern to search for
<input> File to search [optional]
OPTIONS:
-h, --help Print help information
-V, --version Print version information
gremlin <pattern> <input-file>
gremlin Banana test.txt
... | gremlin <pattern>
cat test.txt | gremlin Banana