Grep version 2.5.4 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 2.5.4

      View the most recent changes for the grep port at: grep.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for grep.
      The raw portfile for grep 2.5.4 is located here:
      http://grep.darwinports.com/dports/sysutils/grep/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/grep


      The grep Portfile 56149 2009-08-24 20:20:03Z toby macports.org $

      PortSystem 1.0
      Name: grep
      Version: 2.5.4
      Platform: darwin
      Category: sysutils
      Maintainers: waqar
      Description: GNU grep, the \"fastest grep in the west\" (we hope).
      Long Description: Grep searches one or more input files for lines containing a match to a specified pattern. By default, grep prints the matching lines.
      Homepage: http://www.gnu.org/software/grep/grep.html
      Platform: darwin
      Master Sites: gnu
      use_bzip2 yes
      Checksums: md5 5650ee2ae6ea4b39e9459d7d0585b315 sha1 9bbd4f02b18bb264e0fcb17293b6f0445c8694d2 rmd160 52abf25681bc6830f372ea7607480da69eaa06fd

      Patch Files: patch-po-Makefile.in.in.diff

      configure.args --infodir=${prefix}/share/info --mandir=${prefix}/share/man

      depends_lib port:pcre port:gettext

      test.run yes
      test.target check

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/grep
      % sudo port install grep
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching grep
      ---> Verifying checksum for grep
      ---> Extracting grep
      ---> Configuring grep
      ---> Building grep with target all
      ---> Staging grep into destroot
      ---> Installing grep
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using grep with these commands:
      %  man grep
      % apropos grep
      % which grep
      % locate grep

     Where to find more information:

    Darwin Ports



    Lightbox this page.