Quote:
Originally Posted by Socks
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'