grep -iE '\bperson(s|’s)?\b' sample.txt. Add -o and/or pipe to wc -l at will. This is not an answer because you're explicitly asking about implementing exclusions according to the list and the command does not do this.
grep -iE '\bperson(s|’s)?\b' sample.txt. Add -o and/or pipe to wc -l at will. This is not an answer because you're explicitly asking about implementing exclusions according to the list and the command does not do this.