Table transformation tools
tabluate is a swiss army knife for table transforming human readable tables into machine readable data structure.
Please note that this builtin is still in active development and the default behavior will continue to change and evolve. Any features marked with a flag (see below) will be stable, have numerous tests written against them, and thus safe to use.
<stdin> -> tabulate [ flags ] -> <stdout>
--column-wrapsBoolean, used with --map or --key-value to merge trailing lines if the text wraps within the same column
--helpBoolean, displays a list of flags
--joinerString, used with --map to concatenate any trailing records in a given field
--key-inc-hintBoolean, used with --map to split any space or equal delimited hints/examples (eg parsing flags)
--key-valueBoolean, discard any records that don't appear key value pairs (auto-enabled when --map used)
--mapBoolean, return JSON map instead of table
--separator'String, custom regex pattern for spliting fields (default:
--split-commaBoolean, split first field and duplicate the line if comma found in first field (eg parsing flags in help pages)
--split-spaceBoolean, split first field and duplicate the line if white space found in first field (eg parsing flags in help pages)
tabulate is designed to parse human readable tables, it is used a lot for dynamically turning command like program help output into JSON maps for
autocomplete's DynamicDesc blocks:
rsync --help -> @[^Options$..--help]re -> tabulate: --map --split-comma --column-wraps --key-inc-hint
[[(element): Outputs an element from a nested structure
[(index): Outputs an element from an array, map or table
autocomplete: Set definitions for tab-completion in the command line
formap: Iterate through a map or other collection of data
format: Reformat one data-type into another data-type
This site's content is rebuilt automatically from murex's source code after each merge to the
master branch. Downloadable murex binaries are also built with the website.
Last built on Wed Jan 12 10:38:51 UTC 2022 against commit 50d6f4550d6f45b79e200b3cbc8e8e2639854a5265c7021.
Current version is 2.4.3010 BETA which has been verified against tests.