Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 904 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 904 Bytes

perg

CI codecov

Grep implementation in 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. perg file.txt file.txt)
  • search from stdin (i.e. perg - or perg lol -)
  • search from stdin with pipe (i.e. cat ./Cargo.toml | perg author)
  • search in a directory.
  • search recursive (-r or --recursive)
  • search recursive following symlink (-R or --dereference-recursive)
  • exclude some dir (--exclude-dir=folder)

Contributing

Any helps or suggestions will be appreciated.