#!/bin/bash
# Program to extract
or links from an html file.
#
# Written by: Chris Studholme
# Last Update: 8-Jan-1999
# Copyright: GPL (http://www.fsf.org/copyleft/gpl.html)
cat|tr "<" "
"|tr ">" "
"|grep 'a[ ]*href=".*"
img[ ]*src=".*"'|awk -F'"' '{print $2}'