Details on this package are located in Section 8.34.2, “Contents of Grep.”
The Grep package contains programs for searching through the contents of files.
Prepare Grep for compilation:
./configure --prefix=/usr \
--host=$LFS_TGT \
--build=$(./build-aux/config.guess)
Compile the package:
make
Install the package:
make DESTDIR=$LFS install
Details on this package are located in Section 8.34.2, “Contents of Grep.”