[Top][All Lists]

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

Re: Fw: grep recursive problem

From: Hans-Bernhard Broeker
Subject: Re: Fw: grep recursive problem
Date: 19 Oct 2006 21:49:45 GMT

dan1 <address@hidden> wrote:

> grep -r -i i80word *.php

> However if I go one directory up and type the same command, there is
> no result at all, like if the '-r' otion would not be taken into
> account. 

You're about the 100th person to report this here, and the 100th
person to be quite wrong about this being a bug.  This is actually
exactly the expected behaviour.  You misunderstand how Unix shells
parse command lines with wildcarded arguments like *.php.  For starters,
predict what 
        echo *.php

will print in each of those directories, and then try what actually

Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.

reply via email to

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