[CentOS] Strange behavior from grep
Toby Bluhm
tkb at midwestinstruments.comFri Mar 28 14:08:24 UTC 2008
- Previous message: [CentOS] Strange behavior from grep
- Next message: [CentOS] how do i have a clone centos server
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [CentOS] Strange behavior from grep
- Next message: [CentOS] how do i have a clone centos server
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list