by Tom Bozzo
This
grep command:
grep -h -o -e '<a href="http://[url].*.html">' *.html >file.txt...searches every file ending in ".html" in the current directory for "a" tags linking the site given by [url] and, on a Unix-like OS such as Mac OS X or Linux, places the links in "file.txt."