Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sieep-coding/grep-in-go

My version of grep, implemented in Go
https://github.com/sieep-coding/grep-in-go

go golang grep linux

Last synced: 7 days ago
JSON representation

My version of grep, implemented in Go

Awesome Lists containing this project

README

        

[![GoDoc](https://godoc.org/github.com/gomarkdown/markdown?status.svg)](https://pkg.go.dev/github.com/sieep-coding/grep-in-go)
[![Go Report Card](https://goreportcard.com/badge/github.com/sieep-coding/grep-in-go)](https://goreportcard.com/report/github.com/sieep-coding/grep-in-go)
![Go version](https://img.shields.io/github/go-mod/go-version/sieep-coding/grep-in-go)

## Installation

Inside the source directory, run the following command:

```sh
make
# or
source install.sh zsh
# or
source install.sh bash
```
It will build the binary file and put it in a bin folder on your `$HOME` dir.

---

**Note**: If you have already run the command and your *.rc file is already modified, you can run the command again but without the zsh/bash part in order to not have the function repeated in it.

## Usage

```
Usage:

Ggrep ( | . ) [-opt]

Arguments:

The desired text you want to search for

The directory in which you'd like to search. Use '.' to search in the current directory

Options:

-h Show hidden folders and files

```