Skip to content

t-genc/tiny-grep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny Grep

Basic grep implementation

Usage

# Clone the repository and install dependencies
$ git clone https://github.com/t-genc/tiny-grep
$ cd tiny-grep

time to find your pattern

$ node lib/grep "mypattern" file1 file2 ...

or search in directories, do not forget to add -r flag 🎗️

$ node lib/grep -r "mypattern" dir1 dir2 ...

for other options take a look to the help message:

$ node lib/grep -h

About

Basic grep implementation in typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published