Guest User

Untitled

a guest
Jan 16th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #!/bin/sh
  2. #
  3. # jl2json.sh: JSON line file to JSON file converter
  4. #
  5. # Usage: ./jl2json.sh sample.jsonl sample.json
  6. #
  7. echo "[" > $2 ; sed '$!s/$/,/' $1 >> $2 ; echo "]" >> $2
Add Comment
Please, Sign In to add comment