Skip to content

Instantly share code, notes, and snippets.

@chellberg
Created August 23, 2018 01:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chellberg/d6cc5699e372a1177cf4a8d08dfb7782 to your computer and use it in GitHub Desktop.
Save chellberg/d6cc5699e372a1177cf4a8d08dfb7782 to your computer and use it in GitHub Desktop.
1662 grep -iC1 'refugee' fox_news_paragraphs.txt | sed '/^--$/d' > fox_news_refugee_paragraphs_4.txt
1663 grep -iA1 'refugee' fox_news_paragraphs.txt | sed '/^--$/d' > fox_news_refugee_paragraphs_5.txt
1664 vim MSNBC\ all.txt
1665 wc -l msnbc_paragraphs.txt
1666 wc -l MSNBC\ all.txt
1667 grep -iA1 'refugee' msnbc_paragraphs.txt | sed '/^--$/d' > msnbc_refugee_paragraphs.txt
1668 vim NPR_all.TXT
1669 wc -l msnbc_refugee_paragraphs.txt
1670 wc -l npr_paragraphs.txt
1671 wc -l NPR_all.TXT
1672 grep -iA1 'refugee' npr_paragraphs.txt | sed '/^--$/d' > npr_paragraphs.txt
1673 grep -iA1 'refugee' npr_paragraphs.txt | sed '/^--$/d' > npr_refugee_paragraphs.txt
1674 vim npr_paragraphs.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment