Skip to content

A-atmos/grep.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grep.rs

Basic Implementation of GREP using rust.

Features

  • search in single file.
  • show line number (-n or --line-number)
  • ignore case sensitive (-i or --ignore-case)
  • search in more files (i.e. greps file.txt file.txt)
  • search using wildcard expression (*/?)
  • search from stdin with pipe (i.e. cat ./Cargo.toml | greps author)
  • search in a directory.
  • search recursive (-r or --recursive)
  • exclude some dir (--exclude-dir=folder)
  • search for multiple words in a single file
  • show readable characters from a binary file
  • search for a certain text from the readable characters from a binary file
  • test for string and wildcards expression in normal text files and binary files

Contributing

Any helps or suggestions will be appreciated.

About

Basic Implementation of GREP using rust.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages