in reply to Re^2: grep exact words
in thread grep exact words
Saying "doesn't seem to be working" is not useful. Providing your input, output, and what you expected to be different could help.my %seen; @seen{@serv} = (1) x @serv;
Please do note the advice to chomp the lines you're reading from a file. "foo\n" will not be equal to "foo".
|
|---|