mgrep is a command line tool that allows users to search text files for lines matching a given regular expression. It is similar to the well-known Unix utility, grep.

As a natural extension to the single-line regular expressions, mgrep is also capable of searching for multiline patterns.

mgrep is not a grep replacement, but it is intended to be grep-compatible: implemented options and behavior should be the same as those of grep.

mgrep is written in C++ using the Boost.Regex library.

A configure/make system is provided for Linux, but its source code should compile on all platforms that have the std and Boost.Regex libraries installed.

Project Samples

Project Activity

See All Activity >

Follow mgrep - A Multiline grep Implementation

mgrep - A Multiline grep Implementation Web Site

Other Useful Business Software
Convert CentOS to Red Hat Enterprise Linux on Azure Icon
Convert CentOS to Red Hat Enterprise Linux on Azure

Go beyond legacy Linux and streamline your CentOS migration journey by moving mission-critical workloads to Red Hat Enterprise Linux on Azure.

CentOS Linux is experiencing End of Life on June 30th, leading to potential gaps in security. With Red Hat Enterprise Linux on Azure, IT Teams can seamlessly migrate mission-critical CentOS Linux workloads knowing they don’t have to compromise on security, scalability, reliability, and simplifying cloud management. Securely accelerate innovation and unlock a competitive edge with enterprise-grade modern cloud infrastructure.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of mgrep - A Multiline grep Implementation!

Additional Project Details

Intended Audience

Information Technology, Science/Research, Developers, Testers, Engineering

User Interface

Command-line

Programming Language

C++

Related Categories

C++ Command Line Tools

Registered

2012-08-01