Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## make a copy of the original file that we can modify
- cp original_data outfile
- ## loop over a file of regexs, applying each to our output
- while read rx; do
- grep -v $rx outfile > outfile.tmp
- mv outfile.tmp outfile
- done < regex_file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement