#!/bin/bash # # Keep only the lines of file1, that contain (do not contain) a word # that is also in file2. awk -f ~/bin/greplistawk $*