使用brew
brew install gnu-sed coreutils
echo "alias sed=\"`which gsed`\"" >> ~/.bash_profile
echo "alias readlink=greadlink" >> ~/.bash_profile
使用brew
brew install gnu-sed coreutils
echo "alias sed=\"`which gsed`\"" >> ~/.bash_profile
echo "alias readlink=greadlink" >> ~/.bash_profile