Parse ASCII tabular data, such as the output from docker ps or netstat -tanp.
Convert tables of columns into something a bit more machine-readable, or a bit less wide.
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 8114516 0 8114516 0% /dev
tmpfs 1629484 3068 1626416 1% /run
$ df | tabular
Filesystem=udev
1K-blocks=8114516
Used=0
Available=8114516
Use%=0%
Mounted on=/dev
Filesystem=tmpfs
1K-blocks=1629484
Used=3068
Available=1626416
Use%=1%
Mounted on=/run
$ df | tabular --format json
[
{
"Filesystem": "udev",
"1K-blocks": "8114516",
"Used": "0",
"Available": "8114516",
"Use%": "0%",
"Mounted on": "/dev"
},
{
"Filesystem": "tmpfs",
"1K-blocks": "1629484",
"Used": "3068",
"Available": "1626416",
"Use%": "1%",
"Mounted on": "/run"
}
]