[ros-bugs] [Bug 2718] New: buggy grep in RosBE 0.3.8.0

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Thu Oct 4 06:11:48 CEST 2007


http://www.reactos.org/bugzilla/show_bug.cgi?id=2718

           Summary: buggy grep in RosBE 0.3.8.0
           Product: ReactOS
           Version: unspecified
          Platform: x86 Hardware
        OS/Version: ReactOS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Win32
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: roytam1 at yahoo.com.hk
         QAContact: ros-bugs at reactos.org


the grep program in RosBE 0.3.8.0 is buggy that -i (case insensitive) switch
fails on input is capital letter.

J:\RosBE\reactos>echo a|grep -i A
a

J:\RosBE\reactos>echo A|grep -i a

J:\RosBE\reactos>echo A|grep -i A

J:\RosBE\reactos>grep --version
grep (GNU grep) 2.5.1

Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


J:\RosBE\reactos>for %i in (grep.exe) do @echo %~$PATH:i
J:\RosBE\Tools\grep.exe

The grep from MinGW/MSYS works in these cases.

J:\msys\bin>grep --version
grep (GNU grep) 2.4.2

Copyright 1988, 1992-1999, 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


J:\msys\bin>echo A|grep -i A
A

J:\msys\bin>echo A|grep -i a
A

J:\msys\bin>echo a|grep -i A
a


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Ros-bugs mailing list