diff options
author | Evan Platzer <evan.platzer@gordon.edu> | 2023-11-13 14:23:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 13:23:07 -0600 |
commit | 4241babe12350ac4665859ecc5542bd91a068af8 (patch) | |
tree | c23023b8faa806e13b1511f1d6a96129a04bf8c0 | |
parent | 42f7deae06d5a68d8751c7d279cf6cd27a6b5c3d (diff) |
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.
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 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 ``` |