[CentOS] Strange behavior from grep
Mário Gamito
gamito at gmail.com
Fri Mar 28 13:15:55 UTC 2008
Hi,
It's been a long time since I've been noticing a strange behaviour
from CentOS grep command.
But today, I really need it.
I have a file that has the word gamito inside of it.
If I run
$ grep 'gamito' file
it returns nothing. Yet, if I run
$ grep -c 'gamito' file
It returns 1 which is right.
The mind boggles.
Does anyone ever had this problem or am I missing something here ?
Any help would be appreciated.
Warm Regards,
Mário Gamito
More information about the CentOS
mailing list