This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: searching the GCC manual (tip of the day)
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 26 Aug 2004 09:21:54 -0500
- Subject: Re: searching the GCC manual (tip of the day)
- References: <6.1.2.0.2.20040826091117.01e4f4d8@iplan-mn.corp.adobe.com>
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