On Fri, Mar 28, 2008 at 9:37 AM, Mário Gamito gamito@gmail.com 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 ?
Any help would be appreciated.
Warm Regards, Mário Gamito
I'm not a sed user but I believe that would do it for you. Someone else can no doubt fill the blanks. I believe you could also do it with awk as it also accepts a regular express in its syntax.
Jacques B.