Basic Implementation of GREP using rust.
- 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
Any helps or suggestions will be appreciated.