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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
