bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/25841] New: grep -F does not process -w option properly.


From: dick_guertin at yahoo dot com
Subject: [Bug classpath/25841] New: grep -F does not process -w option properly.
Date: 18 Jan 2006 08:27:51 -0000

Below are two 'grep -F' executions, one with -w, one without it.

elaine41:~/wylsrc> grep -F -w XGET *.c
comm.c:extern void XGET ();
exec.c:extern void XGET ();
exec.c:           XGET ();
exec.c:           XGET ();
func.c:extern void XGET ();
func.c:           XGET ();
func.c:           XGET ();
view.c:extern void XGET ();
view.c:           XGET ();
xcall.c:           XGET ();
xcall.c:           XGET ();
xcall.c:           XGET ();
xcall.c:           XGET ();
elaine41:~/wylsrc> grep -F XGET *.c
comm.c:extern void XGET ();
comm.c:extern void XGETFRST ();
comm.c:extern void XGETNEXT ();
comm.c:           XGETFRST ();
comm.c:           XGETNEXT ();
comm.c:           XGET ();
comm.c:           XGET ();
comm.c:           XGET ();
comm.c:           XGET ();
exec.c:extern void XGET ();
exec.c:extern void XGETFRST ();
exec.c:extern void XGETLAST ();
exec.c:extern void XGETNEXT ();
exec.c:extern void XGETPREV ();
exec.c:void EXGET ();
exec.c:           EXGET ();
exec.c:           void EXGET () {
exec.c:           XGET ();
exec.c:           XGET ();
exec.c:           XGETFRST ();
exec.c:           XGETLAST ();
exec.c:           XGETNEXT ();
exec.c:           XGETPREV ();
func.c:extern void XGET ();
func.c:           XGET ();
func.c:           XGET ();
proc.c:extern void XGETFRST ();
proc.c:extern void XGETNEXT ();
proc.c:extern void XGETLAST ();
proc.c:           XGETFRST ();
proc.c:           XGETNEXT ();
proc.c:           XGETLAST ();
recs.c: /*            XGETINFO - GET RECORD GROUP INFORMATION
recs.c: /*             XGET   - GET A RECORD
recs.c:void XGET()
recs.c: /*             XGETNEXT - GET NEXT RECORD
recs.c:void XGETNEXT()
recs.c: /*             XGETPREV - GET PREVIOUS RECORD
recs.c:void XGETPREV()
recs.c: /*             XGETFRST - GET FIRST RECORD IN RANGE
recs.c:void XGETFRST()
recs.c: /*             XGETLAST - GET LAST RECORD IN RANGE
recs.c:void XGETLAST()
view.c:extern void XGET ();
view.c:           XGET ();
xcall.c:extern void XGETFRST ();
xcall.c:extern void XGETNEXT ();
xcall.c:extern void XGET ();
xcall.c:           XGET ();
xcall.c:           XGET ();
xcall.c:           XGET ();
xcall.c:           XGET ();
xcall.c:           XGETFRST ();
xcall.c:           XGETNEXT ();
xcall.c:           XGETFRST ();
xcall.c:           XGETNEXT ();
elaine41:~/wylsrc> 

The occurrences of XGET in recs.c do NOT appear at all in the -w execution.
And there are five instances of the word XGET in xcall.c, but the -w execution
only reported four of them.  The failure to pick up recs.c is my main concern
since I was looking for all modules that used the XGET function, and didn't get
recs.c using -w.


-- 
           Summary: grep -F does not process -w option properly.
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dick_guertin at yahoo dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25841





reply via email to

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