安装自制软件的非常简单的脚本:
#!/bin/bash ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
输出给出:
==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1 Press RETURN to continue or any other key to abort
如何在这样的脚本中按Enter键?期望是最好的路线?