/grep/mydir/i?joe+bloggs
and turn that into
grep -l -i "(joe)|(bloggs)" | awk -f ls2html.awk
where ls2html.awk looks something like:
BEGIN { print "Select one of:\n<MENU>" }
{ printf "<LI><A HREF=./%s> %s</A>\n", $1, $1 }
END { print "</MENU>" }
The awk generates the HTML for a menu. I guess you could use awk in fact to
generate the grep command too. But these are just ideas. or are you using VMS?
Yes, you could probably do it with DCL and SEARCH.
Of course if you can handle C, then hack the sample httpd.
> ///Peter
Tim