:
##########################################################################
# Shellscript:	extracturl - extract URLs from HTML files
# Author     :	Heiner Steven <heiner.steven@odn.de>
# Category   :	HTML
# SCCS-Id.   :	@(#) extracturl	1.3 02/09/10
##########################################################################
# Description
#
##########################################################################

PN=`basename "$0"`			# Program name
VER='1.3'

egrep -i '<a[ 	]+href[ 	]*=[ 	]*"?[^">]*"?.*>' "$@" |
    sed -e 's|.*<[aA][ 	][ 	]*[hH][rR][eE][fF][ 	]*=[ 	]*"*\([^">][^">]*\)"*[^>]*>.*|\1|g'
