{
  "name": "split",
  "description": "The split utility reads the given file and breaks it up into files of 1000 lines each (if no options are specified), leaving the file unchanged. If file is a single dash ('-') or absent, split reads f",
  "options": [
    {
      "names": [
        "-a"
      ],
      "description": "Use suffix_length letters to form the suffix of the file name",
      "takes_arg": true,
      "arg": {
        "name": "suffix_length"
      }
    },
    {
      "names": [
        "-b"
      ],
      "description": "Create split files byte_count bytes in length. If k or K is appended to the number, the file is split into byte_count kilobyte pieces. If m or M is appended to the number, the file is split into byte_",
      "takes_arg": true,
      "arg": {
        "name": "byte_count",
        "description": "N[K|k|M|m|G|g]"
      }
    },
    {
      "names": [
        "-d"
      ],
      "description": "Use a numeric suffix instead of a alphabetic suffix"
    },
    {
      "names": [
        "-l"
      ],
      "description": "Create split files line_count lines in length",
      "takes_arg": true,
      "arg": {
        "name": "line_count"
      }
    },
    {
      "names": [
        "-p"
      ],
      "description": "The file is split whenever an input line matches pattern, which is interpreted as an extended regular expression. The matching line will be the first line of the next output file. This option is incom",
      "takes_arg": true,
      "arg": {
        "name": "pattern"
      }
    }
  ],
  "args": [
    {
      "name": "file",
      "description": "The file to split",
      "template": "filepaths"
    },
    {
      "name": "prefix",
      "description": "Prefix for the names of the files into which the file is split",
      "suggestions": [
        "x"
      ]
    }
  ]
}
