mirror of
https://github.com/chmln/sd
synced 2024-11-26 13:00:21 +00:00
Add install instructions
This commit is contained in:
parent
33fd7b2bf6
commit
2f22150868
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,12 @@ Some cherry-picked examples, where `sd` shines:
|
||||||
|
|
||||||
Note: although `sed` does have a nicer regex syntax with `-r`, it is a non-portable GNU-ism and thus doesn't work on MacOS, BSD, or Solaris.
|
Note: although `sed` does have a nicer regex syntax with `-r`, it is a non-portable GNU-ism and thus doesn't work on MacOS, BSD, or Solaris.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cargo install sd
|
||||||
|
```
|
||||||
|
|
||||||
## Quick Guide
|
## Quick Guide
|
||||||
|
|
||||||
1. **String-literal mode**. By default, expressions are treated as regex. Use `-s` or `--string-mode` to disable regex.
|
1. **String-literal mode**. By default, expressions are treated as regex. Use `-s` or `--string-mode` to disable regex.
|
||||||
|
|
Loading…
Reference in a new issue