[Bug 1071447] Re: [bug] grep -r [ with / without piping ]
** Changed in: grep (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1071447 Title: [bug] grep -r [ with / without piping ] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1071447/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1071447] Re: [bug] grep -r [ with / without piping ]
Hello, Got your poing its waste of cat with cat tejasbarot.txt | grep -r tejasbarot But This was just a scenario, There are many other situation where we need to put grep with pipe and with -r. So it was just a simple one scenario but grep -r behaviour is totally unexpected. As already mentioned, If I execute grep -r tejasbarot and don't specify path then also it is search in Current WOrking directory this is also not as expected. Hope this is clear to you. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1071447 Title: [bug] grep -r [ with / without piping ] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1071447/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1071447] Re: [bug] grep -r [ with / without piping ]
Hello, I know we can omit but behavior is not unexpected. Wrong result that is my question. Thanks Regards, Tejas Barot www.tejasbarot.com linuxforums.tejasbarot.com -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1071447 Title: [bug] grep -r [ with / without piping ] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1071447/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1071447] [NEW] [bug] grep -r [ with / without piping ]
Public bug reported: Hello, 1) Description: Ubuntu 12.10 Release:12.10 2) grep: Installed: 2.12-2 Candidate: 2.12-2 Version table: *** 2.12-2 0 500 http://archive.ubuntu.com/ubuntu/ quantal/main i386 Packages 100 /var/lib/dpkg/status 3) grep -irn grep-text should not give any output if i do not specify path of file, and also cat tejasbarot.txt | grep -irn tejasbarot should not give any output if there is no matching text in tejas.txt 4)Let's say, There is one text file called tejasbarot.txt and written text tejasbarot.com in that file, Now If I execute grep -in tejasbarot and Press Enter it is pausing on terminal and Not executing command,This is expected behavior. But If I execute grep -irn tejasbarot123 without specifying file's path it is searching in Current Working Directory and if i am search in this way cat tejasbarot.txt | grep -irn tejasbarot123 even if its not matching the text it is trying to search in all files of current working directory. So I feel that specifying -r with grep command is not providing correct result. This is very basic package and consider as major bug of grep. Expecting very quick fix on the same. Thanks Regards, Tejas Barot http://www.tejasbarot.com http://linuxforums.tejasbarot.com ** Affects: grep (Ubuntu) Importance: Undecided Status: New ** Tags: critical grep important -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1071447 Title: [bug] grep -r [ with / without piping ] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1071447/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1071447] Re: [bug] grep -r [ with / without piping ]
** Summary changed: - grep -r [ with / without piping ] + [bug] grep -r [ with / without piping ] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1071447 Title: [bug] grep -r [ with / without piping ] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1071447/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1071447] Re: [bug] grep -r [ with / without piping ]
** Description changed: Hello, 1) Description: Ubuntu 12.10 Release: 12.10 2) grep: - Installed: 2.12-2 - Candidate: 2.12-2 - Version table: - *** 2.12-2 0 - 500 http://archive.ubuntu.com/ubuntu/ quantal/main i386 Packages - 100 /var/lib/dpkg/status + Installed: 2.12-2 + Candidate: 2.12-2 + Version table: + *** 2.12-2 0 + 500 http://archive.ubuntu.com/ubuntu/ quantal/main i386 Packages + 100 /var/lib/dpkg/status - 3) grep -irn grep-text should not give any output if i do not specify path of file, and also cat tejasbarot.txt | grep -irn tejasbarot + 3) grep -r grep-text should not give any output if i do not specify path of file, and also cat tejasbarot.txt | grep -r tejasbarot should not give any output if there is no matching text in tejas.txt 4)Let's say, There is one text file called tejasbarot.txt and written text tejasbarot.com in that file, Now If I execute grep -in tejasbarot and Press Enter it is pausing on terminal and Not executing command,This is expected behavior. - But If I execute grep -irn tejasbarot123 without specifying file's - path it is searching in Current Working Directory and if i am search in - this way cat tejasbarot.txt | grep -irn tejasbarot123 even if its not + But If I execute grep -r tejasbarot123 without specifying file's path + it is searching in Current Working Directory and if i am search in this + way cat tejasbarot.txt | grep -r tejasbarot123 even if its not matching the text it is trying to search in all files of current working directory. So I feel that specifying -r with grep command is not providing correct result. This is very basic package and consider as major bug of grep. Expecting very quick fix on the same. Thanks Regards, Tejas Barot http://www.tejasbarot.com http://linuxforums.tejasbarot.com -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1071447 Title: [bug] grep -r [ with / without piping ] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1071447/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs