Strange behavior from grep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux