pandorafms/extras/anytermd/libpbe/scripts/iana/mk_charsets_dat.awk

5 lines
186 B
Awk

/^Name:/ { printf("\n%s",$2); }
/^Alias:/ && $2!="None" && /preferred MIME name/ { printf("\t* %s",$2); }
/^Alias:/ && $2!="None" && !/preferred MIME name/ { printf("\t%s",$2); }