{
    "content": [
        {
            "type": "text",
            "text": "# col7(1) (man)\n\n**Summary:** col1 .. col9, NF - awk and print a column (based on the name of the program, 1-9)\n\n## Examples\n\n- `Rather than:`\n- `mount | awk '{print $3}'`\n- `Try:`\n- `mount | col3`\n- `Instead of:`\n- `cat /etc/passwd | awk -F\":\" '{print $7}'`\n- `You can just do:`\n- `cat /etc/passwd | col7 :`\n- `Or`\n- `cat /etc/passwd | NF :`\n\n## See Also\n\n- awk(1)\n\n## Section Outline\n\n- **NAME** (3 lines)\n- **SYNOPSIS** (1 lines) — 1 subsections\n  - col1 [SEPARATOR] (1 lines)\n- **DESCRIPTION** (9 lines)\n- **EXAMPLES** (16 lines)\n- **SEE ALSO** (3 lines)\n- **AUTHOR** (11 lines)\n\n## Full Content\n\n### NAME\n\ncol1 .. col9, NF - awk and print a column (based on the name of the program, 1-9)\n\n### SYNOPSIS\n\n#### col1 [SEPARATOR]\n\n### DESCRIPTION\n\ncol1  is a simple script that conveniently splits and prints a given column, where the column\nto print is the name of the script program you're running (col1-col9).   col2-col9  are  sym‐\nlinks to col1; their behavior simply changes based on the name called.\n\nNF can be used to print the last field.\n\nThe program takes one optional argument, the input field separator (whitespace, by default).\n\n### EXAMPLES\n\nRather than:\nmount | awk '{print $3}'\n\nTry:\nmount | col3\n\nInstead of:\ncat /etc/passwd | awk -F\":\" '{print $7}'\n\nYou can just do:\ncat /etc/passwd | col7 :\n\nOr\ncat /etc/passwd | NF :\n\n### SEE ALSO\n\nawk(1)\n\n### AUTHOR\n\nThis  manpage and the utility was written by Dustin Kirkland <kirkland@ubuntu.com> for Ubuntu\nsystems (but may be used by others).  Permission is granted to copy, distribute and/or modify\nthis  document  under the terms of the GNU General Public License, Version 3 published by the\nFree Software Foundation.\n\nOn Debian systems, the complete text of the GNU  General  Public  License  can  be  found  in\n/usr/share/common-licenses/GPL, or on the web at http://www.gnu.org/licenses/gpl.txt.\n\n\n\nbyobu                                        27 Sep 2010                                     col1(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "col7",
        "section": "1",
        "mode": "man",
        "summary": "col1 .. col9, NF - awk and print a column (based on the name of the program, 1-9)",
        "synopsis": "",
        "flags": [],
        "examples": [
            "Rather than:",
            "mount | awk '{print $3}'",
            "Try:",
            "mount | col3",
            "Instead of:",
            "cat /etc/passwd | awk -F\":\" '{print $7}'",
            "You can just do:",
            "cat /etc/passwd | col7 :",
            "Or",
            "cat /etc/passwd | NF :"
        ],
        "see_also": [
            {
                "name": "awk",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/awk/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "col1 [SEPARATOR]",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 11,
                "subsections": []
            }
        ]
    }
}