mkvtoolnix/contrib/parse_iso.awk
2010-06-12 00:30:51 +02:00

14 lines
249 B
Awk
Executable File

#!/bin/awk -f
BEGIN {
FS = "|";
}
!/qaa-qtz/ {
printf(" { %-83s \"%s\", %s, %s },\n", "\""$4"\",", $1, $3 ? "\""$3"\"" : "NULL", $2 ? "\""$2"\"" : "NULL ");
}
END {
printf(" { %-83s %s, %s, %s },\n", "NULL,", "NULL", "NULL", "NULL");
}