tsv

The tsv format organizes the gutenfmt output into tab-delimited lines. It works well with traditional Unix text tools such as grep, sed, and awk, and the text processing performed by PowerShell.

Example: name and value pairs to TSV

env | grep JAVA | gutenfmt --output tsv

Output:

JAVA_HOME	/usr/lib/jvm/java-8-openjdk-amd64
JAVA_OPTS	-server -Xmx512m

Example: compact JSON to TSV

jq -c -M '.glossary.GlossDiv.GlossList.GlossEntry | del(.GlossDef)' \
  docs/data/glossary.json |
  gutenfmt --output tsv |
  sort

Output:

Abbrev  ISO 8879:1986
Acronym SGML
GlossSee        markup
GlossTerm       Standard Generalized Markup Language
ID      SGML
SortAs  SGML

Note the difference between table and tsv. table aligns the columns using multiple whitespaces, whereas tsv separates them with a single tab character ('\t').