how to get data between td tags in unix shell script -
i want data between td tags in unix shell script in generalize way.
for example in following
<td style="padding:3px;" align="center">123.456</td> how retrieve 123.456 in generalize way.
thanks
you can try sed,
sat:~# cat file <td style="padding:3px;" align="center">123.456</td> <td>sat</td> sat:~#   sat:~# sed 's/<td\(.*[^<>]\+\?>\)\(.*\)<\/td>/\2/g' file 123.456 sat sat:~#  i hope you.