Search code examples
linuxsearchacksearching-xml

How can I get ack to return results?


I know there's some text inside a file under $SOURCE/frameworks/base/res/res/values/strings.xml that says "hotspot," but if I am in the source directory and execute ack hotspot, I get "no file or directory."

This is my first time trying to navigate source code of a huge repo, so please be kind. Thank you.


Solution

  • I finally discovered why ack wasn't working. Via apt-get, ack is a Kanji code converter. ack is therefore called ack-grep in Ubuntu-based distributions.