bugfix: awk scripts fail without local data
This commit is contained in:
@@ -2,9 +2,11 @@ BEGIN {
|
||||
OFS="\t"
|
||||
local_artists[0] = 0
|
||||
delete local_artists[0]
|
||||
while ((getline < file_local_artists) == 1)
|
||||
local_artists[$1] = 1
|
||||
close(file_local_artists)
|
||||
if (file_local_artists) {
|
||||
while ((getline < file_local_artists) == 1)
|
||||
local_artists[$1] = 1
|
||||
close(file_local_artists)
|
||||
}
|
||||
}
|
||||
{
|
||||
gsub("&", "\\\\&")
|
||||
|
Reference in New Issue
Block a user