bug-gnu-utils
[Top][All Lists]
Advanced

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

bugreport grep (GNU grep) 2.4.2


From: Blaauboer, Dick
Subject: bugreport grep (GNU grep) 2.4.2
Date: Mon, 4 May 2009 10:52:30 +0200

Hello,

using this fine utility I ran into a bug. I think.

Consider this.

Trying to find a specific string ( "Hello") in, lets say 10 files called
*.LOG ( 1.LOG, 2.LOG, 3.LOG etc).

grep Hello *.LOG (return) works fine.

Now I want the output in a file.

grep Hello *.LOG>output.txt (return)
 
I get a file called output.txt with the result of my grep-search action.
Nice.
 
Now I type grep Hello *.LOG>output.LOG (return)
The program goes into a loop. It seems to see the outputfile (also a
.LOG) as one of the files it has to check, adding its findings over and
over again.
 
Ctrl C did stop this loop but the result was a file of about 64 Mb, text
only.
At home I will try to see what happens when I do not interrupt the
program.  Must crash somewhere, disk full (?) of file too big (?) or
something like that.
Can't do this at work. Boss will not be pleased when I crash my PC due
to experiment.
 
Not a big bug. Just don't name the outpufile .LOG
 
See if you get the same result.
 
Thanks for the fine utility. It's a great tool.
 
Hope I have helped you with this "bug-report".
 
Greetings from Holland.
 
Dick Blaauboer.
Please don't spam my mail. ( Boss doesn't like it and he is right about
that.)

 
address@hidden 

 

 

 


--------------------------------------------------------------------------- 
This e-mail is confidential. 
If you are not the addressee or an authorized recipient of this message, 
any distribution, copying, publication or use of this information for any 
purpose is prohibited. 
Please notify the sender immediately by e-mail and then delete this message. 
Ce message est confidentiel. 
Si vous n'etes pas le destinataire designe de ce message ou une personne 
autorisee a l'utiliser, toute distribution, copie, publication ou usage a 
quelques fins que ce soit des informations contenues dans ce message sont 
interdits. 
Merci d'informer immediatement l'expediteur par messagerie electronique et 
d'ensuite detruire ce message. 
--------------------------------------------------------------------------- 

JPEG image

JPEG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]