Skip to content

Instantly share code, notes, and snippets.

@wizardishungry
Last active December 20, 2015 21:28
Show Gist options
  • Save wizardishungry/6197466 to your computer and use it in GitHub Desktop.
Save wizardishungry/6197466 to your computer and use it in GitHub Desktop.
hugo bot stuff
find ~/Projects/www.hugoschwyzer.net/ -type f \! -iname \*replyto\* -iname \*.html -exec lynx -nolist -dump {} \; > ~/hugo.corpus.txt
sed -e 's/http[^ ]*//g' -e 's/@[^ ]*//g' -e 's/^rt //i' ~/Projects/download-tweets/hugoschwyzer_tweets.csv >> ~/hugo.corpus.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment