|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#17086: closed (Reg : Bug in Grep command) |
Date: | Tue, 25 Mar 2014 18:56:01 +0000 |
Your message dated Tue, 25 Mar 2014 11:55:03 -0700 with message-id <address@hidden> and subject line Re: bug#17086: Reg : Bug in Grep command has caused the debbugs.gnu.org bug report #17086, regarding Reg : Bug in Grep command to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 17086: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17086 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: Reg : Bug in Grep command Date: Mon, 24 Mar 2014 19:10:53 +0530 Dear Person,I have found a bug in the below environment and using grep along with REGEX.My aim: To search a names having "Mr.*" and "Mrs.*" in f1.dat file
$ cat /etc/*-release
Enterprise Linux Enterprise Linux Server release 5.8 (Carthage)
Oracle Linux Server release 5.8
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
$ cat f1.dat
Output:
MRavi
Mr.Kumar
Mrs.Linda
Mrs.Lily
Mr.Gul
Mr.Tent
Mrs.Forrest
Mr.Hammer
$ grep -r "Mr.*" f1.dat
Output:
Mr.Kumar
Mrs.Linda
Mrs.Lily
Mr.Gul
Mr.Tent
Mrs.Forrest
Mr.Hammer
$ grep -r "Mrs.*" f1.dat
Output:
Mrs.Linda
Mrs.Lily
Mrs.ForrestI see the command ($ grep -r "Mr.*" f1.dat) is getting retrieved all names having both Mr. and Mrs.please do let me know is this defect ? Hoping to get an revert mail on this.--Thanks & Regards,
KK Senthil Kumar
--- End Message ---
--- Begin Message ---Subject: Re: bug#17086: Reg : Bug in Grep command Date: Tue, 25 Mar 2014 11:55:03 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 On 03/25/2014 09:01 AM, Norihiro Tanaka wrote:I don't seem that it's a grep's bug.Agreed, and closing the bug.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |