I am trying to create an external awk file. I need the file to output
the text to the filename "$4". $4 is a field in the table that has the
filename. How do I fix this:
BEGIN { FS = "\t" }
{print "<html>\n<head>\n<title>",$1,"</title>\n</head>\n<body>\n"
print "\<\!--webbot bot=\"Include\" U-Include=\"../top.htm\"
TAG=\"BODY\" --\>\n<table>\n<tr>\n<td width=\"200\" valign=\"top\">\n"
print "\<\!--webbot bot=\"Include\" U-Include=\"../left-nav.htm\"
TAG=\"BODY\" --\><p> </td>\n"
print "<td>\n<h1>",$1,"</h1>\n"
print "<img src=\"",$5,"\"><br>Price: $",$2
print $7
print "<a href=\"",$6,"\">Order Now</a>","\n",$6,"\n"
print "</td>\n</tr>\n</table>\n</body>\n</html>\n"} > $4 |