bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep : -r (recursive) option does not work when... ( grep (GNU grep) 2


From: Andre Gompel
Subject: grep : -r (recursive) option does not work when... ( grep (GNU grep) 2.4 )
Date: Mon, 3 Sep 2001 15:04:17 -0700

Hello:
grep : -r (recursive) option does not work in the follwing context:

grep -ri   string *.c

The command is ran from a top directory but in this case the c files are at a 
lower level.

Grep exits without "going" to look for c files (in this example) in the lower 
level directories.   Error message: "No such file or directory".

I do believe that the -r option should either disable the error checking for 
this, or (better) only issue it if no qualified file is found in the 
directory tree.

Thanks for your attention.
Andre


  -------------------
Andre Gompel Consulting
P.O Box 755
San Jose, CA 95106-0755
  ------------------------
Tel: (408) 297 1951
Reply only to mailto:address@hidden 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]