Skip to content

Commit

Permalink
Update common-content/en/module/tools/individual-shell-tools/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: Sally McGrath <[email protected]>
  • Loading branch information
illicitonion and SallyMcGrath authored Dec 2, 2024
1 parent bd29c79 commit e919467
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Some programs take extra arguments. These may be optional or required. Extra arg
./errors/index.md:const result = console.log("hello world");
```

Here we passed the optional argument `-r` (which takes no value), and the optional argument `-B` (which we gave the value `1`). We call arguments that start with a `-` flags.
Here we passed the optional argument `-r` and the optional argument `-B`. `-r` takes no value. We gave `-B` the value 1.

We could give flags in any order - `grep -B 1 -r "hello" .` works the same as `grep -r -B 1 "hello" .`.

Expand Down

0 comments on commit e919467

Please sign in to comment.