Good Day,
I would like to exclude lines that have the word SECTOR as well as the word DREFIELD.
The following throws lines that have SECTOR but it mistakenly can remove lines with SECTOR that don't have DREFIELD -
Regards,
Dan
I would like to exclude lines that have the word SECTOR as well as the word DREFIELD.
The following throws lines that have SECTOR but it mistakenly can remove lines with SECTOR that don't have DREFIELD -
Code:
grep -v SECTOR < source.txt
Regards,
Dan