# AWK-Skript zur Konvertierung von .HHC-Dateien in das Baumformat von TreeView # (entstehend bei dekompilierten .CHM-Dateien) h#s 05/03 function OutLine(term) { if (Titel) { for (i=0; i/ { OutLine(",new Array("); depth++; } /
  • / { OutLine("),"); } /"Name"/ { sub(/"[^"]*$/,""); sub(/.*"/,""); Titel=$0; } /"Local"/ { sub(/"[^"]*$/,""); sub(/.*"/,""); Url=$0; } /<\/UL>/ { OutLine((depth!=1 ? ")))," : "));")); depth--; }