Skip to content

Instantly share code, notes, and snippets.

@trickkiste
Created November 27, 2018 01:38
Show Gist options
  • Save trickkiste/302919b4e34cd9bdc9d962b9b13b965d to your computer and use it in GitHub Desktop.
Save trickkiste/302919b4e34cd9bdc9d962b9b13b965d to your computer and use it in GitHub Desktop.
bash-4.4# cat melted-playlist.txt | gawk -f melted-simple.awk
{"payload":["index":"0","filename":"audio-bbc.xml","in":"0 2255 2256 2256 25.00","out":"","length":"","calculated_length":"","fps":"0.000000"],["index":"1","filename":"afasdfasdfasdf","in":"0 2255 2256 2256 25.00","out":"","length":"","calculated_length":"","fps":"0.000000"],["index":"2","filename":"one two","in":"0 2255 2256 2256 25.00","out":"","length":"","calculated_length":"","fps":"0.000000"],["index":"3","filename":"one two three","in":"0 2255 2256 2256 25.00","out":"","length":"","calculated_length":"","fps":"0.000000"]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment