Skip to content

Instantly share code, notes, and snippets.

@landys
Created April 15, 2016 02:55
Show Gist options
  • Save landys/1d7f75a281f94a13bc3b5924cbe3a712 to your computer and use it in GitHub Desktop.
Save landys/1d7f75a281f94a13bc3b5924cbe3a712 to your computer and use it in GitHub Desktop.
#!/bin/bash
while IFS='' read -r line || [[ -n "$line" ]]; do echo "$line";grep "$line" content.txt; done < filter_words_content.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment