[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep(1)ing fifo's
From: |
Alain Magloire |
Subject: |
Re: grep(1)ing fifo's |
Date: |
Thu, 1 Mar 2001 00:08:39 -0500 (EST) |
>
> hello y'all!
>
> i'm running freebsd 4.0 and whenever i want to search very many files, e.g.
> using "-r" to recurse into entire hierarchies, a very annoying situations
> can occur: after having searched a few hundred files the program stops
> when reading/positioning on named pipes and sockets (and maybe on other
> "funny" files, too!).
>
> so i can't get reliable results, it is impossible to restart the operation,
> and i don't know what to do.
>
> would you happen to know a work around?
There will be some new options "a la GNU tar" in the coming grep-2.5
that will help :
# grep -r --exclude=BAD_FILE_PATTERN .
'til then you can fall back on good old 'find' to exclude the unwanted.
--
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: grep(1)ing fifo's,
Alain Magloire <=