View Single Post
Old 01-28-2011, 08:07 AM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
Code:
[chris@jumbo ~]$ cat test.html
<a href="http://www.domain.com" title="Free Shipping HD7-Case001">
link</a>
<a href="http://www.domain.com" title="Free Shipping HD2-Case001">link</a>
<a href="http://www.domain.com" title="Free Shipping HD3-Case001">link</a>
<a href="http://www.domain.com" title="Free Shipping HD7-Case009">link</a>
<a href="http://www.domain.com" title="Free Shipping HD7-Case002">link</a>
Code:
[chris@jumbo ~]$ cat test.html | tr '"' '\n' | grep "^Free Shipping " | cut -d ' ' -f 3
HD7-Case001
HD2-Case001
HD3-Case001
HD7-Case009
HD7-Case002
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote