diff options
| author | JacobTravers <travershasemail@gmail.com> | 2023-03-31 13:53:39 -0700 |
|---|---|---|
| committer | JacobTravers <travershasemail@gmail.com> | 2023-03-31 14:11:14 -0700 |
| commit | 4d9b85356150f805b2a8119001b3094a5cc8c12f (patch) | |
| tree | 84e557ffc51bc59fc58b96240f970068a6783d53 /rc/tools/python | |
| parent | 019fbc5439ad884f172c324ebc928463eab9bc74 (diff) | |
Use grep -F when no argument is passed (literal string match)
Why?
Most users who pass the current selection to grep likely do not intend to pass
the selection as a regex input string.
This makes the grepcmd use an additional -F flag to perform literal-string
matching for the current selection. The -F flag seems to be the standard flag
for literal-string matching in every grep implementation I've found.
Diffstat (limited to 'rc/tools/python')
0 files changed, 0 insertions, 0 deletions
