Travis Roy <[EMAIL PROTECTED]> writes:

> 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>

I would snarf this thusly:

  perl -ln -0777 -e '/95th Percentile:.*?(\d+\.\d+\s+Kbits\/second)/s; print $1;' 
<your-file.html

Regards,

--kevin
-- 
GnuPG ID: B280F24E
_______________________________________________
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss

Reply via email to