This commit is contained in:
Daniel Bauer
2019-04-15 20:07:56 +02:00
parent d99889f0b2
commit ec15b8d3ac
31 changed files with 31 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
/string *"xesam:artist/{
while (1) {
getline line
if (line ~ /string "/) {
sub(/.*string "/, "artist:", line)
sub(/".*$/, "", line)
print line
break
}
}
}
/string *"xesam:title/{
while(1) {
getline line
if (line ~ /string "/) {
sub(/.*string "/, "title:", line)
sub(/".*$/, "", line)
print line
break
}
}
}