Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hgrep

A simplified version of grep, written in Rust.

Installation

The rust compiler must be present on your system and the cargo executable must be in your PATH.

$ git clone https://github.com/omega1510/hgrep.git
$ cd hgrep
$ cargo build --release

This places an executable in target/release/.

Usage

Usage: hgrep [options] <query> <filename>
        
Options:
    -h, --help           Display this message.
    -i, --ignore-case    Search case insensitively.

The framework for this program was created following the Rust Book. However, I have made some modifications and improvements. This program is still very well a learning exercise in building CLIs with Rust.

About

A simplified version of grep, written in Rust.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages