bugfix in awk script: &

This commit is contained in:
2025-09-12 14:24:53 +02:00
parent 9c969d073f
commit 6dc107c7c4

View File

@@ -94,17 +94,17 @@ BEGIN {
else
line = line "\t"
sub("<<status>>", line_status, line)
sub("<<year>>", year, line)
sub("<<tracks>>", trackcnt, line)
sub("<<media>>", media, line)
gsub("<<status>>", line_status, line)
gsub("<<year>>", year, line)
gsub("<<tracks>>", trackcnt, line)
gsub("<<media>>", media, line)
gsub("&", "\\\\&", label)
sub("<<label>>", label, line)
gsub("&", "\\\\&", titel)
sub("<<title>>", title, line)
gsub("<<label>>", label, line)
gsub("&", "\\\\&", title)
gsub("<<title>>", title, line)
gsub("&", "\\\\&", artist)
sub("<<artist>>", artist, line)
sub("<<country>>", country, line)
gsub("<<artist>>", artist, line)
gsub("<<country>>", country, line)
sortk = year ? year : 0
l = local_releases[id] ? format_local : ""
print sortk, l, line, rgid ? rgid : "0", id ":" local_releases[id]