https://github.com/gharib110/rustygrep
The grep cmd in GNU Linux Operating Systems that is implemented in Rust
https://github.com/gharib110/rustygrep
command-line-tool grep linux-tools rust rust-lang
Last synced: 11 months ago
JSON representation
The grep cmd in GNU Linux Operating Systems that is implemented in Rust
- Host: GitHub
- URL: https://github.com/gharib110/rustygrep
- Owner: Gharib110
- License: gpl-3.0
- Created: 2024-02-28T20:16:50.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-02T08:21:35.000Z (almost 2 years ago)
- Last Synced: 2024-03-02T09:30:37.010Z (almost 2 years ago)
- Topics: command-line-tool, grep, linux-tools, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RustyGrep
The grep cmd in GNU Linux Operating Systems that is implemented in Rust
## Example
`` cargo run to ./file.txt ``
This Command search 'to' in the file.txt.
The first argument is the search query and the second argument is the file path which could be a relative or an absolute path.
The Content of the file:
```
Hello Where is it?
He is going to the shop !
```
The Output:
```
search result of to in ./file.txt
He is going to the shop !
```