Hi,
I want to get a particular value from the html file. How to get value 1.16 from the below html
<td class="" t="'','','<B>: </B>277<BR><B>: </B>>
1.16
</td>
Thanks for your help.
Regards
Neethu
Hi,
I want to get a particular value from the html file. How to get value 1.16 from the below html
<td class="" t="'','','<B>: </B>277<BR><B>: </B>>
1.16
</td>
Thanks for your help.
Regards
Neethu
Is this same html structure you has..????
if yes, then use..
awk '/<td class=/ { getline ; print }' file
Thanks Pamu for the reply...
The exact html is below.
<td class="table" toolTipOver="'disabled','Time','<B>transactions: </B>277<BR><B>OK: </B>66lt;BR><B>transactions: </B>0<BR><B>transactions: </B>2<BR><B>Current" style="background-color:#94cf65;border-bottom: 1px solid #BAC8D5">
1.16
</td>
Thanks
Neethu
To keep the forums high quality for all users, please take the time to format your posts correctly.
First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags
```text
and
```
by hand.)
Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.
Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.
Thank You.
The UNIX and Linux Forums
try this..
just try to find unique identifier from the xml to get the desired data.
awk '/class="table"/ { getline ; print }' file
Hi Pamu,
It is working fine..
Thanks a lot...
Thanks
Neethu