I want to verify the status become "ready" before performing the next action. However, the client return the status in HTML format. How can I just get the "ready" value?
Code
echo "$status"
Output:
<reply><contents><status>ready</status>
</contents>
<status>OK</status>
</reply>