The Grep package contains programs for searching through files.
Approximate build time: 0.1 SBU Required disk space: 5.8 MB |
Official download location for Grep (2.5.1):
ftp://ftp.gnu.org/gnu/grep/
For its installation Grep depends on: Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Make, Sed, Texinfo.
Prepare Grep for compilation:
./configure --prefix=/usr --bindir=/bin --with-included-regex |
Compile the package:
make |
This package has a test suite available which can perform a number of checks to ensure it built correctly. Should you choose to run it, the following command will do so:
make check |
And install the package:
make install |
Installed programs: egrep (link to grep), fgrep (link to grep) and grep
egrep prints lines matching an extended regular expression.
fgrep prints lines matching a list of fixed strings.
grep prints lines matching a basic regular expression.