Q:

Ack command not found error

Recently I wrote a bash script to delete unused images from the Xcode project. That was working fine on Mountain Lion. Today I installed latest version of Mavericks (I did clean install). But now while running the terminal command i.e.bash removeunusedimages.sh. I'm getting following error:
removeUnusedImages.sh: line 5: ack: command not found

I have tried searching about ack on google but still not able to fix the issue. 

A:

Installed using homebrew:
brew install ack

Note: If you're getting brew command not found error. Then you can install brew using following command:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Homebrew source: http://brew.sh/ 

