Re: Strange behavior from grep

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



Mário Gamito wrote:
Hi,

Thank you for your answer.

After a little more research, I found out that the line containing the
word 'gamito' is huge and yet it scrolls so fast in the screen that I
can barely see it.

I tried redirecting the output of the grep to a file and that huge
line went in to it.

So, I've tried a double grep:

$ grep 'gamito' file | grep 'gamito'

but without success.

Well, my question now is, how do I get the word 'gamito' alone from the file ?


Perhaps try to chop the line down to size by using fold or split.



--
Toby Bluhm
Alltech Medical Systems America, Inc.
30825 Aurora Road Suite 100
Solon Ohio 44139
440-424-2240


_______________________________________________
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