View Single Post
Old 05-20-2011, 06:30 AM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,426
anyone good with sed?

im trying to grab all the links out of a chrome bookmark export file.

i want in the format of <a href="link">name</a>

Code:
 cat bookmarks_5_20_11.html | sed 's/^.*HREF="//' | sed 's/".*$//'
works just for the links, anyone have an idea how i can get the full link with title?
__________________
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