Skip to content

Commit

Permalink
Update README.md for new string literal arg
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
EjPlatzer authored Nov 13, 2023
1 parent 42f7dea commit 68c1918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit 68c1918

Please sign in to comment.