Skip to content

alecdesjardins/grrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grss, the Rusty grep

Description

grss is a simple parser for text files, written in Rust. It leverages the clap crate for efficient command line argument parsing.

Usage

grss can be utilized to parse single files in various ways, providing flexibility in handling text files. The tool accepts the following command line arguments:

USAGE:
    grrs --pattern <PATTERN>... <PATH>

Examples

# Search for a pattern in a file and print the lines that contain it
$ grrs -p foo test.txt
$ grrs --pattern foo test.txt

Testing

The tool can be tested by running the following command:

$ cargo test

It will run all integrations tests in the tests directory and unit tests found in the src directory.

About

Rust Terminal File Parsing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages