
`grrs` (pronunced "grass) is a `grep` clone. We can give a string and a path and it’ll print only the lines that contain the given string.
Report Bug
·
Request Feature
grrs
has been created by following the book Command Line Applications in Rust.
Execute this command to setup git hooks:
git config --local core.hooksPath ./hooks
A typical invocation of grss
will look like this:
$ cat text.txt
foo: 1
bar: 2
foobar: 3
$ grrs foobar text.txt
foobar: 3