Im trying to use the patterns in a file to grep another one but there's no output. I know they are there because I can see and use gedit "Find". Here's what I'm doing
grep -f scored.txt index.txt
And heres a sample of both files:
score.txt
11gs
1amw
1alw
1a8i
1a0q
index.txt
11gs,2.30,1999,5.82,Ki=1.5uM,11gs.pdf,(GTT-EAA)
1a0q,2.30,1999,7.57,Ki=27nM,1a0q.pdf,(HEP)
1a8i,1.78,1998,5.52,Ki=3.0uM,1a8i.pdf,(GLS)
1alw,2.03,1998,6.52,Ki=0.3uM,1alw.pdf,(ISA)
1amw,1.85,1998,4.54,Kd=29uM,1a4h.pdf,(ADP)
I'm edditing here because this example case WORKS. However, when I try with the full files I still don't get any output