Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sieep-coding/grep-in-go
- Owner: Sieep-Coding
- License: unlicense
- Created: 2024-05-21T17:25:04.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-21T20:14:20.000Z (8 months ago)
- Last Synced: 2024-11-08T01:39:43.725Z (about 2 months ago)
- Topics: go, golang, grep, linux
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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```