bug-grep
[Top][All Lists]
Advanced

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

bug


From: complete
Subject: bug
Date: Sat, 3 Sep 2005 20:08:42 -0500

I am using the grep that comes with CygWin and I think I found a bug.

First, let me explain how I have the source code that I am searching through
set up.  I have two versions of the popular phpbb code in two subdirectories.  
My phpbb code is stored in two directories:

C:\_web sites\_New CompleteTranslations.com\_phpBB2
C:\_web sites\_New_Gelsana\__Solid_PHPBB_copy

And so, from the root directory, "C:\_web sites\", one would assume the php 
code could be searched by the command: 

grep -rn append_sid *.* 

from the directory 

"C:\_web sites\"

Here is the syntax of the commands as seen from the cygwin window:


address@hidden ~
$ cd "/cygdrive/c/_web sites"

address@hidden /cygdrive/c/_web sites
$ grep -rn append_sid *.* > ../proof.out


The output from this shows data from the "_New CompleteTranslations.com\_phpBB2"
directory only and it seems that any directories that follow alphabetically are 
ignored.

I can think of three reasons why this might happen:
  1.. there is a limit to the amount of space that grep can search
  2.. somehow the format of the files in the other directories is one that grep 
cannot handle (like unicode)
  3.. there is alimit to the amount of data that grep can output
I have ruled out #2 because the I did a seperate grep from the "_New_Gelsana" 
directory and it 
produced an output I expected it to.


reply via email to

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