Skip to content

Instantly share code, notes, and snippets.

Created Dec 19, 2015
What would you like to do?
awk -F',' '/EXTINF/ {canal=$NF; gsub(/ /,"_",canal); getline url; print canal;print " " canal " " url}' canales.m3u
#EXTINF:-1,Ocho TV
#EXTINF:-1,Foro TV
#EXTINF:-1,Milenio TV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment