Skip to content

asg5704/gremlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👹 Gremlin

A lightweight, grep-like searcher written in Rust that uses a gremlin to finds patterns.

Motivation

  • As a means of learning the Rust programming language

Example

// TODO

Installation

To install gremlin, you can download the binaries here. Remember to put the path to the binary in your PATH.

Usage

$ gremlin -h
gremlin 0.1.0
Alexander Garcia <https://alexandergarcia.me>
A grep-like pattern searcher

USAGE:
    gremlin <pattern> [input]

ARGS:
    <pattern>    Pattern to search for
    <input>      File to search [optional]

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

Search within a file

gremlin <pattern> <input-file>
gremlin Banana test.txt

Search using pipe

... | gremlin <pattern>
cat test.txt | gremlin Banana

About

A lightweight grep-like tool to search files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages