grep is always recursive
Loïc Grenié
loic.grenie at gmail.com
Sat Jan 24 20:19:36 UTC 2009
2009/1/24 Hal Burgiss <hal at burgiss.net>:
> On Sat, Jan 24, 2009 at 08:07:51PM +0100, Loïc Grenié wrote:
>>
>> scp $computer2:/bin/grep /tmp
>> /tmp/grep a *
>> scp /bin/grep $computer2:/tmp
>> ssh $computer2
>> (on computer2)
>> /tmp/grep a *
>
> Doing this, the outcomes stay the same: wierdness at home/problem
> system. OK elsewhere.
So this is definitely not "grep" itself but the system...
env -i /bin/grep a *
>> > GREP_OPTIONS=''; grep a *
>>
>> GREP_OPTIONS='' grep a *
>> (without ;)
>
> Same difference. Still recursive. Thx.
Which confirms your first report (no GREP in the environment).
Loïc
More information about the ubuntu-users
mailing list