Skip to content

Commit

Permalink
-N not -H
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Feb 11, 2024
1 parent ec6d1d7 commit 70b7c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llms/rg-pipe-llm-trick.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ db/schema.rb
184: t.index ["user_id"], name: "index_read_ribbons_on_user_id"
...
```
For the purposes of feeding code into a large language model those line numbers are just wasted tokens. Using `-H` removes them:
For the purposes of feeding code into a large language model those line numbers are just wasted tokens. Using `-N` removes them:
```bash
rg -N read_ribbons
```
Expand Down

0 comments on commit 70b7c39

Please sign in to comment.