[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep -r oddity
From: |
Eli Zaretskii |
Subject: |
Re: grep -r oddity |
Date: |
Fri, 26 Jan 2001 12:55:17 +0200 |
> From: "Kurt V. Hindenburg" <address@hidden>
> Date: Fri, 26 Jan 2001 04:09:37 -0500
>
> I'm using grep 2.4.2 with linux.
>
> If I have a directory structure as follows:
> >ls
> b/ text1
> >ls b
> text2
> >cat text1 b/text2
> HELLO TEXT1
> HELLO TEXT2
>
> >grep -r LL *
> text1:HELLO TEXT1
>
> >From the docs it would appear that -r is not working correctly. Shouldn't
> the above sample output both files? If not, what's the -r for?
FWIW, it's working for me as you expect in Grep 2.4.