Hi Khader,
Here is what man grep on my system gives
grep [-[AB] NUM] [-CEFGVbchiLlnqsvwxyUu] [-e PATTERN | -f
FILE] [--extended-regexp] [--fixed-strings] [--basic-reg�
exp] [--regexp=PATTERN] [--file=FILE] [--ignore-case]
[--word-regexp] [--line-regexp] [--line-regexp] [--no-mes�
sages] [--revert-match] [--version] [--help] [--byte-off�
set] [--line-number] [--with-filename] [--no-filename]
[--quiet] [--silent] [--files-without-match] [--files-
with-matcces] [--count] [--before-context=NUM] [--after-
context=NUM] [--context] [--binary] [--unix-byte-offsets]
files...
Please help me find the -r option.
BTW grep --version results in
anand@anand: ~ > grep --version
grep (GNU grep) 2.2
Bye
anand
Today [EMAIL PROTECTED] said
> >>>>> "Anand" == Anand Raman <[EMAIL PROTECTED]> writes:
>
> Anand> HI guys I want to recursivly search (go down folders) for a
> Anand> pattern in files using grep
>
> Anand> I didnt find any recurse option in manpages for grep
>
> Anand> What can be done to recursivly search for patterns in a
> Anand> file
>
> Hi Anand,
> Well, then I might say you didnt RTFM properly ;-)
> This is what I got from man grep
>
> -r, --recursive
> Read all files under each directory, recursively;
> this is equivalent to the -d recurse option.
>
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available. Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.