#!/bin/sh [ "$#" -eq 2 ] || { echo "Usage: $0 input.jsonl output.json" >&2 exit 1 } jq -s '.' <"$1" >"$2"