ag

How to search with case sensitive with ag in macOS?


i want to search with case sensitive, seems "ag -i" should do the job. But when i run it in macOS, seems it's not the case.

Anyone has same issues ?


Solution

  • ag -s pattern

    this works in macOS.