mirror of
https://github.com/chmln/sd
synced 2024-11-24 12:13:05 +00:00
Update README.md for new string literal arg (#281)
The example for string literal mode mentions the new official argument (`-F` or `--fixed-strings`), but still uses the old, now undocumented `-s` argument. This is confusing for anyone who doesn't know the old syntax.
This commit is contained in:
parent
42f7deae06
commit
4241babe12
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ Install through
|
|||
1. **String-literal mode**. By default, expressions are treated as regex. Use `-F` or `--fixed-strings` to disable regex.
|
||||
|
||||
```sh
|
||||
> echo 'lots((([]))) of special chars' | sd -s '((([])))' ''
|
||||
> echo 'lots((([]))) of special chars' | sd -F '((([])))' ''
|
||||
lots of special chars
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue