summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Platzer <evan.platzer@gordon.edu>2023-11-13 14:23:07 -0500
committerGitHub <noreply@github.com>2023-11-13 13:23:07 -0600
commit4241babe12350ac4665859ecc5542bd91a068af8 (patch)
treec23023b8faa806e13b1511f1d6a96129a04bf8c0
parent42f7deae06d5a68d8751c7d279cf6cd27a6b5c3d (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.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6e81400..5b7a9b0 100644
--- a/README.md
+++ b/README.md
@@ -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
```