Re: a grep question
On Tue, Mar 05, 2002 at 12:52:44PM -0800, justin cunningham wrote:
> Hi, I read through man on find and grep and am trying to search for an
> ip in some files contained in folders but every time I type in grep
> options it just hangs. What am I doing wrong?
>
> Conversely i can go into /site.com/cgi-bin then cat any.cgi | grep
> 10.0.0.1
>
> and will get the desired result but instead of doing this for 'every
> file' in 'every folder' I want to search for the 10.ip in the files from
> the site's root directory.
>
> Hope this is clear. Thanks, justin
>
>
You don't have unmatched quotes in the grep expression, do you?
I often make this mistake myself.
David
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
Reply to: