ZFS How to beautify the output of "zfs get all"

zfs get all
takes two lines for each output.
Maybe send it towards an awk script or colonize script ?
What do you mean, two lines? You know you can just get a single property? And add -H and -o options?

For example:
Code:
# zfs get -H -o value mountpoint zroot
/zroot

Code:
       -H         Display output in a form more easily parsed by scripts.  Any
                  headers are omitted, and fields are explicitly separated by
                  a single tab instead of an arbitrary amount of space.
Code:
       -o field   A comma-separated list of columns to display, defaults to
                  name,property,value,source.
See zfs-get(8).
 
Back
Top