First page Back Continue Last page Summary Graphic

Grep and Egrep

  • Used to find patterns within streams. Egrep contains a more powerful expression handler for more complex patterns. Though grep is smaller and less functional, traditional (Unix) egrep is faster.
  • e.g.
  • egrep '^He.*ere$' <<TAG
  • This is a test
  • Hello there
  • Goodbye there
  • Hello there again
  • TAG
  • --> Hello there

    Notes: