{
    "mode": "man",
    "parameter": "bzegrep",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/bzegrep/1/json",
    "generated": "2026-06-15T13:13:16Z",
    "synopsis": "bzgrep [ grepoptions ] [ -e ] pattern filename...\nbzegrep [ egrepoptions ] [ -e ] pattern filename...\nbzfgrep [ fgrepoptions ] [ -e ] pattern filename...",
    "sections": {
        "NAME": {
            "content": "bzgrep, bzfgrep, bzegrep - search possibly bzip2 compressed files for a regular expression\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "bzgrep [ grepoptions ] [ -e ] pattern filename...\nbzegrep [ egrepoptions ] [ -e ] pattern filename...\nbzfgrep [ fgrepoptions ] [ -e ] pattern filename...\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Bzgrep is used to invoke the grep on bzip2-compressed files. All options specified are passed\ndirectly to grep.  If no file is specified, then the standard input is decompressed if neces‐\nsary  and  fed  to  grep.  Otherwise the given files are uncompressed if necessary and fed to\ngrep.\n\nIf bzgrep is invoked as bzegrep or bzfgrep then egrep or fgrep is used instead of  grep.   If\nthe  GREP  environment variable is set, bzgrep uses it as the grep program to be invoked. For\nexample:\n\nfor sh:  GREP=fgrep  bzgrep string files\nfor csh: (setenv GREP fgrep; bzgrep string files)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Charles Levert (charles@comm.polymtl.ca). Adapted to bzip2 by Philippe Troin  <phil@fifi.org>\nfor Debian GNU/Linux.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "grep(1), egrep(1), fgrep(1), bzdiff(1), bzmore(1), bzless(1), bzip2(1)\n\n\n\nBZGREP(1)",
            "subsections": []
        }
    },
    "summary": "bzgrep, bzfgrep, bzegrep - search possibly bzip2 compressed files for a regular expression",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "grep",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/grep/1/json"
        },
        {
            "name": "egrep",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/egrep/1/json"
        },
        {
            "name": "fgrep",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/fgrep/1/json"
        },
        {
            "name": "bzdiff",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/bzdiff/1/json"
        },
        {
            "name": "bzmore",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/bzmore/1/json"
        },
        {
            "name": "bzless",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/bzless/1/json"
        },
        {
            "name": "bzip2",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/bzip2/1/json"
        },
        {
            "name": "BZGREP",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/BZGREP/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "This command is an alias of `bzgrep --extended-regexp`.",
        "examples": [
            {
                "description": "View documentation for the original command",
                "command": "tldr bzgrep"
            }
        ]
    }
}