From: WanBingjiang Date: Thu, 5 Feb 2026 09:11:06 +0000 (+0800) Subject: column: introduce LIBSMARTCOLS_JSON environment argument X-Git-Tag: v2.43-devel~50^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b30edbe5f44ad28c44eb3b77d9b4a246d0dd2ba5;p=thirdparty%2Futil-linux.git column: introduce LIBSMARTCOLS_JSON environment argument --- diff --git a/text-utils/column.1.adoc b/text-utils/column.1.adoc index 1abe5967e..b17fb199a 100644 --- a/text-utils/column.1.adoc +++ b/text-utils/column.1.adoc @@ -252,7 +252,18 @@ will be colorized by direct color names. == ENVIRONMENT -The environment variable *COLUMNS* is used to determine the size of the screen if no other information is available. +*COLUMNS*:: +is used to determine the size of the screen if no other information is available. + +*LIBSMARTCOLS_JSON*:: +Controls JSON output format when using *--json*. Supported values: ++ +*compact*:: +Output JSON in compact form (minified, minimal whitespace). +*lines*:: +Output in JSON Lines format (one JSON object per line). ++ +If unset or set to any other value, pretty-printed JSON is used. == HISTORY