Version1.15
Revision41
Size0.0 MB
LicenseUnlicense
Confinementstrict
Basecore18

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"
   }
 ]

Update History

1.15 (41)
13 Dec 2025, 09:47 UTC

Published17 May 2020, 21:00 UTC

Last updated23 May 2020, 03:35 UTC

First seen13 Dec 2025, 09:47 UTC