grab the time from the output

fosiul01
fosiul01 used Ask the Experts™
on
hi, my head is blank so need a help..

14:18:28</span></label>

I need to cut  14:18:28  from that sentence.

how will i cut that ??

the script is like this

 grep 'Last Updated' live.php.1 | awk '{print $6}
it gives output like

14:18:28</span></label>

i just want output like

14:18:28

thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2013
Top Expert 2013
Commented:
grep 'Last Updated' live.php.1 | awk '{O=$6; print substr(O,1,index(O,"<")-1)}'

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial