chrisp200 0 Newbie Poster

What I am trying to do is use to retrieve information from a .txt file and use it in a drop down menu. I am using Cgi and not sure exactly how you do it.

This is the shell script that will abstract the information I need for the drop down menu

Grep “^[A-Z]” world95.txt | head -261 | tail -257

something like this would be my .shtml file

<!--#include virtual="cgi/countrylist.cgi"-->
<h2>Choose a nation:</h2>
<select name=nation>
</select>

How do I write the cgi file that will take the information from the script and put it in the drop down.

hope this make sence


Thank you

Christopher Perkins