muflax65ngodyewp.onion/extract_links.sh

7 lines
232 B
Bash
Executable File

#!/bin/zsh
# Copyright muflax <mail@muflax.com>, 2012
# License: GNU GPL 3 <http://www.gnu.org/copyleft/gpl.html>
grep -ahorP '(https?[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]' content*/**/*.(mkd|org) | grep -v "muflax\.com"