{
    "content": [
        {
            "type": "text",
            "text": "# sg_rep_pip(8) (man)\n\n**Summary:** sgreppip - send SCSI REPORT PROVISIONING INITIALIZATION PATTERN command\n\n**Synopsis:** sgreppip  [--help]  [--hex] [--maxlen=LEN] [--raw] [--readonly] [--verbose] [--version] DE‐\nVICE\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -h | --help | — | output the usage message then exit. |\n| -H | --hex | — | output the response in hexadecimal to stdout. When used once the whole response is output in ASCII hexadecimal, prefixed |\n| -m | --maxlen | — | where LEN is the (maximum) response length in bytes. It is placed in the cdb's \"allo‐ cation length\" field. If not given |\n| -r | --raw | — | output the SCSI response (i.e. the data-out buffer) in binary (to stdout). |\n| -R | --readonly | — | open the DEVICE read-only (e.g. in Unix with the ORDONLY flag). The default is to open it read-write. |\n| -v | --verbose | — | increase the level of verbosity, (i.e. debug output). |\n| -V | --version | — | print the version string and then exit. |\n\n## See Also\n\n- sg3utils(sg3utils)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (3 lines)\n- **DESCRIPTION** (3 lines)\n- **OPTIONS** (2 lines) — 7 subsections\n  - -h --help (2 lines)\n  - -H --hex (5 lines)\n  - -m --maxlen (4 lines)\n  - -r --raw (2 lines)\n  - -R --readonly (3 lines)\n  - -v --verbose (2 lines)\n  - -V --version (2 lines)\n- **EXIT STATUS** (3 lines)\n- **AUTHORS** (2 lines)\n- **REPORTING BUGS** (2 lines)\n- **COPYRIGHT** (4 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\nsgreppip - send SCSI REPORT PROVISIONING INITIALIZATION PATTERN command\n\n### SYNOPSIS\n\nsgreppip  [--help]  [--hex] [--maxlen=LEN] [--raw] [--readonly] [--verbose] [--version] DE‐\nVICE\n\n### DESCRIPTION\n\nSends a SCSI REPORT PROVISIONING INITIALIZATION PATTERN command to  DEVICE  and  outputs  the\ndata returned. This command is found in the SBC-4 draft standard, revision 21 (sbc4r21.pdf).\n\n### OPTIONS\n\nArguments to long options are mandatory for short options as well.\n\n#### -h --help\n\noutput the usage message then exit.\n\n#### -H --hex\n\noutput  the  response  in  hexadecimal to stdout. When used once the whole response is\noutput in ASCII hexadecimal, prefixed by an address (starting at 0) on each line. When\nused  twice  the  whole  response is output in hexadecimal with no leading address (on\neach line). The default action is the same as giving the --hex option once.\n\n#### -m --maxlen\n\nwhere LEN is the (maximum) response length in bytes. It is placed in the cdb's  \"allo‐\ncation length\" field. If not given (or LEN is zero) then 8192 is used. The maximum al‐\nlowed value of LEN is 1048576.\n\n#### -r --raw\n\noutput the SCSI response (i.e. the data-out buffer) in binary (to stdout).\n\n#### -R --readonly\n\nopen the DEVICE read-only (e.g. in Unix with the ORDONLY flag).  The  default  is  to\nopen it read-write.\n\n#### -v --verbose\n\nincrease the level of verbosity, (i.e. debug output).\n\n#### -V --version\n\nprint the version string and then exit.\n\n### EXIT STATUS\n\nThe  exit status of sgreppip is 0 when it is successful. Otherwise see the sg3utils(8) man\npage.\n\n### AUTHORS\n\nWritten by Douglas Gilbert.\n\n### REPORTING BUGS\n\nReport bugs to <dgilbert at interlog dot com>.\n\n### COPYRIGHT\n\nCopyright © 2020 Douglas Gilbert\nThis software is distributed under a FreeBSD license. There is NO warranty; not even for MER‐\nCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n### SEE ALSO\n\nsg3utils(sg3utils)\n\n\n\nsg3utils-1.46                                July 2020                                SGREPPIP(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "sg_rep_pip",
        "section": "8",
        "mode": "man",
        "summary": "sgreppip - send SCSI REPORT PROVISIONING INITIALIZATION PATTERN command",
        "synopsis": "sgreppip  [--help]  [--hex] [--maxlen=LEN] [--raw] [--readonly] [--verbose] [--version] DE‐\nVICE",
        "flags": [
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "output the usage message then exit."
            },
            {
                "flag": "-H",
                "long": "--hex",
                "arg": null,
                "description": "output the response in hexadecimal to stdout. When used once the whole response is output in ASCII hexadecimal, prefixed by an address (starting at 0) on each line. When used twice the whole response is output in hexadecimal with no leading address (on each line). The default action is the same as giving the --hex option once."
            },
            {
                "flag": "-m",
                "long": "--maxlen",
                "arg": null,
                "description": "where LEN is the (maximum) response length in bytes. It is placed in the cdb's \"allo‐ cation length\" field. If not given (or LEN is zero) then 8192 is used. The maximum al‐ lowed value of LEN is 1048576."
            },
            {
                "flag": "-r",
                "long": "--raw",
                "arg": null,
                "description": "output the SCSI response (i.e. the data-out buffer) in binary (to stdout)."
            },
            {
                "flag": "-R",
                "long": "--readonly",
                "arg": null,
                "description": "open the DEVICE read-only (e.g. in Unix with the ORDONLY flag). The default is to open it read-write."
            },
            {
                "flag": "-v",
                "long": "--verbose",
                "arg": null,
                "description": "increase the level of verbosity, (i.e. debug output)."
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "print the version string and then exit."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "sg3utils",
                "section": "sg3utils",
                "url": "https://www.chedong.com/phpMan.php/man/sg3utils/sg3utils/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 2,
                "subsections": [
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-H --hex",
                        "lines": 5,
                        "flag": "-H",
                        "long": "--hex"
                    },
                    {
                        "name": "-m --maxlen",
                        "lines": 4,
                        "flag": "-m",
                        "long": "--maxlen"
                    },
                    {
                        "name": "-r --raw",
                        "lines": 2,
                        "flag": "-r",
                        "long": "--raw"
                    },
                    {
                        "name": "-R --readonly",
                        "lines": 3,
                        "flag": "-R",
                        "long": "--readonly"
                    },
                    {
                        "name": "-v --verbose",
                        "lines": 2,
                        "flag": "-v",
                        "long": "--verbose"
                    },
                    {
                        "name": "-V --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "EXIT STATUS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}