grep is always recursive

Hal Burgiss hal at
Sat Jan 24 18:53:49 UTC 2009

On Sat, Jan 24, 2009 at 07:17:32PM +0100, Loïc Grenié wrote:
>     Do you have the possibility to try your recursive grep
>   on the computer where grep is not recursive and the
>   non-recursive grep on the computer where grep is
>   recursive (cross test) ?

Sure, but I don't follow how to do this, like 'ssh $computer2 grep a
*' ?

On my home (problem) system, I have not found a way to do a
non-recursive grep, short of chaining it with 'find'. Doing 

 GREP_OPTIONS=''; grep a *

does not do anything useful. Still recursive.

>      It looks like some GREP_OPTIONS creep in...


More information about the ubuntu-users mailing list