string line = ""
scalar i = 1
loop while getline(functions_page, line) --quiet
string line_name = sprintf("line_%d", i++)
string @line_name = strstr(line, "current_fnfiles/")
string @line_name = strstr(@line_name, "<tt>")
string @line_name = strsub(@line_name, "</td><td>", " ")
string @line_name = strsub(@line_name, "</a>", "")
string @line_name = strsub(@line_name, "</td></tr>", "")
string @line_name = strsub(@line_name, "<p>", "'")
string @line_name = strsub(@line_name, "<tt>", "'")
string @line_name = strsub(@line_name, "</tt>", "'")
string @line_name = strsub(@line_name, "</p>", "'")
string @line_name = strstrip(@line_name)
if @line_name = ""
delete @line_name
else
print @line_name
endif
endloop
'addlist.gfn' 'Allin Cottrell' '1.2' '2010-12-17' 'Sequential addition of variables to a model'
Now I need to use just the first piece of the string ("addlist") to combine it with the install command. Something like this: