Hi there,
I was using the following awk statement but the first line is missing
dirlist=(`ls summary*`); #list all the files in a directory and store them into a variable
echo '<table border='1'>'
echo '<tr><td>%windir%\fonts\*.* </td><td>' ; awk '/Successfully/ {P=0} P {print $0 "<br>"} FNR==1{printf("File %s:<br>", FILENAME)} /Windows\\fonts\\/ {P=1} ' ${dirlist
[*]} ;echo '</td></tr>'
echo '</table>'
File summary_h8cc0203v.txt:
BUILTIN\Administrators:(RX)
NT AUTHORITY\SYSTEM:(RX)
BUILTIN\Users:(RX)
C:\Windows\Fonts CREATOR OWNER:(OI)(CI)(IO)(F):
BUILTIN\Administrators:(RX)
NT AUTHORITY\SYSTEM:(RX)
BUILTIN\Users:(RX)