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:
Evan Platzer 2023-11-13 14:23:07 -05:00 committed by GitHub
parent 42f7deae06
commit 4241babe12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
```