View Single Post
Old 05-25-2011, 08:03 AM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,426
Quote:
Originally Posted by Socks View Post
If your cursor is to the right of the space, you use backspace. If it's to the left, you have to use the delete key.
thanks fatfoo ;)

ps got it working

Code:
#!/usr/local/bin/bash

# chrome bookmark cleanup
# converts bookmark export to just links with titles

# our chrome bookmark export file

cat bookmarks.html | \

# grep the links

grep 'DT><A' | \

# remove the <DT> html tag

sed 's/<DT>//' | \

# remove the DATE variable from the link

sed 's/ ADD_DATE=\".*\"//g' | \

# remove the ICON variable from the link

sed 's/ ICON=\".*\"//g' | \

# remove leading whitespace

sed 's/^[ \t]*//' | \

# convert the html link tags to lowercase

tr '<A HREF' '<a href'
__________________
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