I am working on a script to convert a comma seperated text file into html code line by line.
I am a newbie with scripts (and programming in general)
The text file is like so:
link url, image url, description
and I want it to output this:
<td><a href=”link url”><img src="image url" alt=”description" /></a></td>
Here is what I have so far:
var3='" alt=”thumbnail image" /></a></td>'
while read line
done < gallery.txt
It puts the entire line into the html so its no good. I'll probably need to use awk (I think).