Code:
anisha@linux-uitj:~/Desktop> awk ' /<H[0-9]/ { print gensub(/.*<H[0-9].*>(.+)<\/H[0-9]>.*/,"\\1","g") } /HREF=/ && /https*:\/\// { print gensub(/.*<A HREF="([^ ]+)".*>(.+)<\/A>.*/,"\\2 <\\1>","g") } /^$/' bookmarks.html > bookmarks_with_urls
anisha@linux-uitj:~/Desktop> file bookmarks_with_urls
bookmarks_with_urls: FORTRAN program
:relief: Perhaps there was a problem with the input file, to be sure I re-exported the bookmarks, and this time it worked and this is what I get, but the links are not being shown as URL's, anyway, thank you for the effort

, now at least I am able to copy them
Code:
Bookmarks Menu
bits
5.5 Packing and Unpacking Bit Strings <http://webster.cs.ucr.edu/AoA/Windows/HTML/BitManipulationa2.html>
array of bits - C / C++ answers <http://bytes.com/topic/c/answers/215749-array-bits>
comp.lang.c Frequently Asked Questions <http://c-faq.com/>
Cprogramming.com - Tutorials - Bitwise Operators and Bit Manipulations in C and C++ <http://www.cprogramming.com/tutorial/bitwise_operators.html>
C syntax - Wikipedia, the free encyclopedia <http://en.wikipedia.org/wiki/C_syntax#Bit_fields>
Handel-C Forum - How do i specify an array of bits ?? <http://www.doc.ic.ac.uk/~akf/handel-c/cgi-bin/forum.cgi?msg=513>