Skip to content

Instantly share code, notes, and snippets.

find . -name '*.html' ! -path './src/*' ! -path './node_modules/*' ! -path './_*/*' -exec cat {} \; | perl -ne 'if (/href=.https?:\/\/www.(?!consumerfinance.gov)([^"|\/]*)/g) { print $1 . "\n" }' | sort -u