Skip to content

wilkmaia/minigrep

Repository files navigation

minigrep

Build Status codecov License:MIT

minigrep is a minimal implementation of the grep unix tool implemented in Rust. It should mirror grep's basic functionalities.

Building

Current development branch

To build the current development branch:

$ git clone https://github.com/wilkmaia/minigrep.git
$ cd minigrep
$ cargo build # "cargo build --release" for a release build

Latest release

To build the latest release:

$ curl -sSL -o minigrep-latest.tar.gz https://github.com/wilkmaia/minigrep/archive/0.1.0.tar.gz
$ tar -zxf minigrep-latest.tar.gz
$ cd minigrep-0.1.0
$ cargo build --release

Usage

Usage aims to be similar to Unix grep.

Current supported usage methods

  1. Input file
minigrep <pattern> <filepath>

minigrep also accepts regular expressions as pattern.

Code of Conduct

Our CoC is available here.

Contributing

All help is welcome. See here our guidelines for community contributions.

About

Minimal implementation of the grep unix tool

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages