#!/bin/sh
sort -f |
awk 'BEGIN { FS="^\\|\\|[ \t]*>|<[ \t]*>|<\$"
print "
Copied Files"
print ""
print "Copied Files
"
print ""
oldldr=""
}
/^\|\|/ {
if($2!=oldldr)
{
if(oldldr!="")
print ""
oldldr = $2
gsub(" ","\\ ",$2)
print "- " $2 " (" $4 " Bytes)
"
print ""
}
gsub(" ","\\ ",$3)
print "- " $3 "
"
}
END {
if(oldldr!="")
print "
"
print "
"
print ""
print ""
}
'