I am having an issue with using Ag (The Silver Searcher)...
In the docs it says to use -Q
for exact match, but I don't understand why it does not work for my purposes. If I type something like ag -Q actions
or ag -Q 'actions'
into my terminal, it returns all instances of actions
, including things like transactions
and any other strings that actions
is part of.
I have tried a couple other combinations of flags from the docs, including -s
and -S
, among others, but still I cannot get strictly strings matching just actions
to return for me.
I can't get this to work with grep
either. Does anyone know how I can get what I need with ag
? (or even with grep
)...?
Thank you in advance!