最近,我写了一个bash script从Xcode项目中删除未使用的图像。在Mountain Lion上运行良好。今天,我安装了最新版本的Mavericks(我做了全新安装)。但是现在在运行终端命令即bash removeunusedimages.sh
时。我收到以下错误:
removeUnusedImages.sh: line 5: ack: command not found
我曾尝试在Google上搜索有关ack的信息,但仍然无法解决该问题。
最佳答案
使用自制软件安装:
brew install ack
注意:如果获取brew命令未找到错误。然后,您可以使用以下命令安装brew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
自家酒来源:http://brew.sh/
关于ios - 确认命令未找到错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24134775/