[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep -r oddity
From: |
Kurt V. Hindenburg |
Subject: |
grep -r oddity |
Date: |
Fri, 26 Jan 2001 04:09:37 -0500 |
User-agent: |
Mutt/1.3.13i |
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?
I seem to recall an earlier grep working where it would print out both files.
Kurt
- grep -r oddity,
Kurt V. Hindenburg <=