{
    "content": [
        {
            "type": "text",
            "text": "# REVTWOWAY (man)\n\n## NAME\n\nrevtwoway - Reverse strings sample two-way processor extension\n\n## SYNOPSIS\n\n@load \"revtwoway\"\nBEGIN {\ncmd = \"/magic/mirror\"\nprint \"hello, world\" |& cmd\ncmd |& getline result\nprint result\nclose(cmd)\n}\n\n## DESCRIPTION\n\nThe  revtwoway extension adds a simple two-way processor that reverses the characters in each\nline sent to it for reading back by the AWK program.  It's main purpose is  to  show  how  to\nwrite a two-way extension, although it may also be mildly amusing.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **AUTHOR**\n- **COPYING PERMISSIONS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "REVTWOWAY",
        "section": "",
        "mode": "man",
        "summary": "revtwoway - Reverse strings sample two-way processor extension",
        "synopsis": "@load \"revtwoway\"\nBEGIN {\ncmd = \"/magic/mirror\"\nprint \"hello, world\" |& cmd\ncmd |& getline result\nprint result\nclose(cmd)\n}",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "filefuncs",
                "section": "3am",
                "url": "https://www.chedong.com/phpMan.php/man/filefuncs/3am/json"
            },
            {
                "name": "fnmatch",
                "section": "3am",
                "url": "https://www.chedong.com/phpMan.php/man/fnmatch/3am/json"
            },
            {
                "name": "fork",
                "section": "3am",
                "url": "https://www.chedong.com/phpMan.php/man/fork/3am/json"
            },
            {
                "name": "inplace",
                "section": "3am",
                "url": "https://www.chedong.com/phpMan.php/man/inplace/3am/json"
            },
            {
                "name": "chr",
                "section": "3am",
                "url": "https://www.chedong.com/phpMan.php/man/chr/3am/json"
            },
            {
                "name": "readdir",
                "section": "3am",
                "url": "https://www.chedong.com/phpMan.php/man/readdir/3am/json"
            },
            {
                "name": "readfile",
                "section": "3am",
                "url": "https://www.chedong.com/phpMan.php/man/readfile/3am/json"
            },
            {
                "name": "revoutput",
                "section": "3am",
                "url": "https://www.chedong.com/phpMan.php/man/revoutput/3am/json"
            },
            {
                "name": "rwarray",
                "section": "3am",
                "url": "https://www.chedong.com/phpMan.php/man/rwarray/3am/json"
            },
            {
                "name": "time",
                "section": "3am",
                "url": "https://www.chedong.com/phpMan.php/man/time/3am/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYING PERMISSIONS",
                "lines": 16,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "revtwoway - Reverse strings sample two-way processor extension\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "@load \"revtwoway\"\n\nBEGIN {\ncmd = \"/magic/mirror\"\nprint \"hello, world\" |& cmd\ncmd |& getline result\nprint result\nclose(cmd)\n}\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The  revtwoway extension adds a simple two-way processor that reverses the characters in each\nline sent to it for reading back by the AWK program.  It's main purpose is  to  show  how  to\nwrite a two-way extension, although it may also be mildly amusing.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "GAWK:  Effective AWK Programming, filefuncs(3am), fnmatch(3am), fork(3am), inplace(3am), ord‐\nchr(3am), readdir(3am), readfile(3am), revoutput(3am), rwarray(3am), time(3am).\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Arnold Robbins, arnold@skeeve.com.\n",
                "subsections": []
            },
            "COPYING PERMISSIONS": {
                "content": "Copyright © 2012, 2013, 2018, Free Software Foundation, Inc.\n\nPermission is granted to make and distribute verbatim copies of this manual page provided the\ncopyright notice and this permission notice are preserved on all copies.\n\nPermission  is granted to copy and distribute modified versions of this manual page under the\nconditions for verbatim copying, provided that the entire resulting derived work is  distrib‐\nuted under the terms of a permission notice identical to this one.\n\nPermission  is  granted  to copy and distribute translations of this manual page into another\nlanguage, under the above conditions for modified versions, except that this  permission  no‐\ntice may be stated in a translation approved by the Foundation.\n\n\n\nFree Software Foundation                     Feb 21 2018                              REVTWOWAY(3am)",
                "subsections": []
            }
        }
    }
}