Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '.webloc URL extraction' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
.webloc URL extraction
Authored by: sjk on Aug 01, '04 11:37:55PM
First revision:

strings ${1}.webloc/rsrc | grep http | sed '/^.http/s//http/' | head -1

TODO:
Generalize for non-http/https URL schemes.
Optimize to eliminate grep and head.

[ Reply to This | # ]