Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
akoken committed Oct 23, 2024
1 parent 87b8907 commit 0b624fb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ To install Minigrep, you can download binaries or follow these steps:

## Usage

1. Search for "to" in a file:
1. Search for "rust" in a file:

```bash
minigrep to file.txt
minigrep rust file.txt
```
![image](./assets/1.png)
2. Case-insensitive search for "to" in a file:
2. Case-insensitive search for "RUST" in a file:

```bash
minigrep -i to file.txt
minigrep -i RUST file.txt
```
![image](./assets/2.png)
3. Show line numbers:

```bash
minigrep -l to file.txt
minigrep -l memory file.txt
```
![image](./assets/3.png)

Expand Down
Binary file modified assets/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0b624fb

Please sign in to comment.