searching the GCC manual (tip of the day)

Eljay Love-Jensen eljay@adobe.com
Thu Aug 26 15:56:00 GMT 2004


Cut and paste error missed a ">" where a ">>" was needed, fixed below...
---------------------------
echo "<html><head></head><body>" >tmp.htm
echo "<p>Your results..." >>tmp.htm
grep -l -i "$1" *.html | sed 's@\(.*\)@<br><a href="\1">\1<a>@' >> tmp.htm
echo "</body></html>" >>tmp.htm
---------------------------

--Eljay



More information about the Gcc-help mailing list