# Exit on error:
set -e

wget http://ftpmirror.gnu.org/grep/grep-2.15.tar.xz
tar xf grep-2.15.tar.xz
cd grep-2.15

./configure --prefix= \
    --bindir=/bin \
    --disable-perl-regexp

make install
cd ..
rm -rf grep-2.15
rm -rf grep-2.15.tar.xz

exit 0
