diff --git a/tcdbinfo.sh b/tcdbinfo.sh index eaa4e9d..82115e9 100755 --- a/tcdbinfo.sh +++ b/tcdbinfo.sh @@ -137,6 +137,8 @@ JQ_COLS_REGEX="$( <<<"$JQ_COLS" \ jq -r '. | map ( ".\(.)" ) | join(",")' )" +[[ -z "$NOHEAD" ]] || JQ_COLS= + jqcode=' ['"${JQ_COLS^^}"'] + [.[] | ['"$JQ_COLS_REGEX"']