[bug] grep -r [with / without piping ] Ubuntu 12.10 Quantal Quetzal

Hello Guyz,

Started Using Ubuntu 12.10 Quantal Quetzal and not much impressive with that atleast as of now. Think for Bugs before Using Ubuntu 12.10 Version.

It is bit slow and there are few bugs also I have faced, But Bug which is i am going to mentioned is from very widely used package and that Package name is “grep“.

I was just doing my regular activity on Ubuntu 12.10 Linux and Suddenly i was getting some unexpected result using grep command. and Specially it was totally wrong result when i was trying to get output using “grep” with pipe “|”.

So I thought to submit this bug to Ubuntu ( Lauchpad Just Before few minutes) and also thought to write for the same so user will get informed by the same bug.

Please find following Expected and Unexpected Behaviours of command :-

> Expected Behaviour of “grep -r” command

=> 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

> Unexpected Behaviour of “grep -r” command

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.

You can see complete bug status at this link :- https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1071447

I hope this is informative to you.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

Ask for Linux Commercial Support :- http://www.tejasbarot.com/linux-commercial-support/

Join Linux and Open Source Forums :- http://linuxforums.tejasbarot.com

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Enjoy Linux :) Enjoy Open Source :)

Content Protection by DMCA.com

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


2 Comments »

 
  • Tejas Barot says:

    Hello,

    Posting here is a reason to let my subscribers and blog visitor know that this kind of bug is there and it is already submitted and they can know the status. If 1% is also facing the issue they can visit this link and check the status of the bug.

    Still going to post the same at 1 or 2 forums. Its good to let other know about this bug.

    I hope you understand.

  • ActionParsnip says:

    I don’t see why you needed to post that here, there is a place for bugs reports and you have used it, so why duplicate the text to some random forum….?

 

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


+ 7 = fourteen