GithubHelp home page GithubHelp logo

grrs's Introduction

grrs - Text Search in Files Made Easy

grrs is a lightweight, efficient command-line tool designed to simplify the process of searching for specific text patterns within files. Pronounced "grass", this tool leverages the power of Rust programming to provide a fast and reliable search experience.

Features

  • Fast and Efficient: Built with Rust for optimal performance.
  • Easy to Use: Simple command-line interface.
  • Flexible: Search for any text pattern in a specified file.

Installation

To install grrs, ensure you have Rust and Cargo installed on your system. Follow these steps:

  1. Clone the repository: git clone https://github.com/Psyhackological/grrs.git
  2. Navigate to the project directory: cd grrs
  3. Build the project: cargo build --release
  4. The executable can be found in target/release/grrs

Usage

To search for a pattern in a file:

grrs <pattern> <path-to-file>

Examples

  • Search for "hello" in file.txt:
    grrs hello file.txt
    

Testing

Run the following command to execute the tests:

cargo test

Contributing

Contributions are welcome! Please read our contributing guidelines for details on how to submit pull requests, report issues, or suggest enhancements.

License

This project is licensed under the GPL-3.0-or-later. See the LICENSE file for more details.

Contact

For any queries or contributions, feel free to contact [email protected].

grrs's People

Contributors

psyhackological avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.