sed - print lines which does not contain string
sed -n '/string/!p' file