User:Tene/Setlist conversion

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search

For converting set-lists

sed 's/#\(.*\) + .*song)|\(.*\)\]\]\(.*\)/| pre = \1 | = \2\ | app = 3/' set | sed 's/^#\[\[.*(song)|\(.*\)\]\]\(.*\)/|  = \1 | app = \2/' | sed 's/\[.*youtube.com\/watch?v=\(.*\)]/| app = {{YTw|\1}}/' | sed 's/| app = $//' | sed 's/\(.*\)<.*ncore.*$/\1{{encore}}/'