|
I have pattern file
==> cat pattern
def
bc
Datafile
==> cat testgrep.txt
abc,lmn
def,xyz
ghi,h
jkl
I tried this
==> /usr/xpg4/bin/grep -f pattern testgrep.txt
abc,lmn
==> /usr/xpg4/bin/grep -E -f pattern testgrep.txt
abc,lmn
==> /usr/xpg4/bin/grep -F -f pattern testgrep.txt
abc,lmn
I am not getting the second line which contains def.
|