mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 16:51:47 +00:00
Update cheatsheets
This commit is contained in:
4
tldr/sd
4
tldr/sd
@@ -18,8 +18,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Find and replace in a specific file (output stream: `stdout`):
|
||||
|
||||
`sd {{[-p|--preview]}} {{'window.fetch'}} {{'fetch'}} {{path/to/file.js}}`
|
||||
`sd {{[-p|--preview]}} '{{window.fetch}}' '{{fetch}}' {{path/to/file.js}}`
|
||||
|
||||
- Find and replace in all files in the current project (output stream: `stdout`):
|
||||
|
||||
`sd {{'from "react"'}} {{'from "preact"'}} "$(find . -type f)"`
|
||||
`sd '{{from "react"}}' '{{from "preact"}}' "$(find . -type f)"`
|
||||
|
||||
Reference in New Issue
Block a user