Skip to content

Commit

Permalink
doc: add links to stdin
Browse files Browse the repository at this point in the history
fix #292
  • Loading branch information
HerringtonDarkholme committed Dec 7, 2023
1 parent 95bedba commit c2a279f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/guide/tooling-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ It is useful to test one rule in isolation.

## Parse Code from StdIn

ast-grep's `run` and `scan` commands also support searching and replacing code from standard input (StdIn).
ast-grep's `run` and `scan` commands also support searching and replacing code from [standard input (StdIn)](https://www.wikiwand.com/en/Standard_streams).
This mode is enabled by passing command line argument flag `--stdin`.
You can use bash's [pipe operator](https://linuxhint.com/bash_pipe_tutorial/) `|` to instruct ast-grep to read from StdIn.

Expand Down

0 comments on commit c2a279f

Please sign in to comment.