so i made this "bash script" to fit into a webpage. it gets all the jpgs in a directory and adds them to the page as a thumbnail link to the file.
Code:
<!--#exec cmd="for i in *.jpg; do echo \<a href\=\"$i\"\>\<img src=\"$i\" width\=\"200\"\>\</a\>\<br\>$i\<br\>; done" -->
it works great. the only problem is that this quotes dont get written in. ex:
Code:
hope for:
<a href="614393-large.jpg"><img src="614393-large.jpg" width="200"></a><br>614393-large.jpg<br>
<a href="961075-large.jpg"><img src="961075-large.jpg" width="200"></a><br>961075-large.jpg<br>
but only getting:
<a href=614393-large.jpg><img src=614393-large.jpg width=200></a><br>614393-large.jpg<br>
<a href=961075-large.jpg><img src=961075-large.jpg width=200></a><br>961075-large.jpg<br>
anyone know how i can get the quote characters to show up?
thanks for the help
p.s. if the script is run in a bash terminal the quotes show up.