Skip to content

Instantly share code, notes, and snippets.

@Nazrath10R
Created September 25, 2018 00:37
Show Gist options
  • Save Nazrath10R/b98ffad1d773e7c57bf9b773d462fe84 to your computer and use it in GitHub Desktop.
Save Nazrath10R/b98ffad1d773e7c57bf9b773d462fe84 to your computer and use it in GitHub Desktop.
data filtration: find lines with specific words in a table fast, e.g "LINE-1"
awk '/LINE-1|LINE_1/ { print $0 }' $x > ${x%.txt}_LINE_filtered.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment