Files
zh-en-wn-dataset/scripts/jsonl_to_json.sh
2025-02-13 17:25:01 +06:00

7 lines
114 B
Bash
Executable File

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