#!/bin/bash

# Program to extract <img> or <a href> 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}'
