[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #15479] -w option does not work properly in grep -F (or fgrep)
From: |
anonymous |
Subject: |
[bug #15479] -w option does not work properly in grep -F (or fgrep) |
Date: |
Thu, 19 Jan 2006 04:19:02 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/312.8 (KHTML, like Gecko) Safari/312.5 |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15479>
Summary: -w option does not work properly in grep -F (or
fgrep)
Project: grep
Submitted by: None
Submitted on: Thu 01/19/06 at 04:19
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
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.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15479>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #15479] -w option does not work properly in grep -F (or fgrep),
anonymous <=