To make the "zfs list" output more script-friendly, you can suppress the
output of the headers for each column by passing the -H parameter:

zfs list -H

Another helpful option for script writers is -p, which displays the numbers
in non-rounded, exact values:

zfs list -p

-- Benedict Reuschling <bcr@FreeBSD.org>

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/fbfortune/statuses/115656936796650634 on your instance and quote it. (Note that quoting is not supported in Mastodon.)