PHP wizard needed
Jeff Kinz
jkinz at kinz.org
Wed Oct 27 14:29:01 EDT 2004
On Wed, Oct 27, 2004 at 02:18:35PM -0400, Travis Roy wrote:
> The html is a report for our customers.. I want to grab the 95th
> percentile number..
>
> <TR>
>
> <TD WIDTH="170">95th Percentile:</TD>
>
> <TD>9.88 Kbits/second</TD>
>
> <TD WIDTH="350"></TD>
>
> </TR>
>
>
> That's what the code looks like, I want to feed the html file and get
> the output of "9.88 Kbits/second" and nothing else.
hmm, roughly:
cat $FILES | sed -e '1,/<TD WIDTH="170">95th Percentile:/d' -e '/<TD WIDTH="350">/,$d '
--
Linux/Open Source. Your base belongs to you, free, forever.
Idealism: "Realism applied over a longer time period"
http://www.scaled.com/projects/tierone/
"Last one into space is a rotten egg!"
<a href=http://kinz.org>http://kinz.org</a>
Jeff Kinz, Emergent Research, Hudson, MA.
~
~
~
~
More information about the gnhlug-discuss
mailing list