#!/bin/sh
#
# hurl - extract <a href="..."> URLs from an HTML document or documents

# input is either stdin or the given arguments concatenated
# pipe through hux to get all the href links
# hux: pup -p 'a attr{href}'
cat -- "${@:--}" | hux | sort | uniq
