Help separating a value
Hey,
I'm working on a project for a Web Server administration class. We can use either IIS or Apache for the project and I've chosen to use Apache because I have very little experience administrating Linux and Linux applications.
What I'm trying to do is retrieve stock information and use it to make an automated stock-trading program. So far, I've got as far as isolating the line containing the information I need, but haven't made much progress since.
I've got the line:
<td width="1%" class=val><span id="ref_694653_op">320.18</span></td>
and I need to be able to pull 320.18 out of the line. This value will change. I've looked into using awk and Perl to do this (as I have some, though little experience with both) and so far no luck.
Any help would be greatly appreciated.
Last edited by OverlordSquishy; 03-17-2009 at 11:43 AM.
|