Re: grep hang - grep xxxx *
- From: "blackdog" <cljlk@xxxxxxxxxxx>
- Date: 23 May 2006 10:44:15 -0700
Doug Freyburger wrote:
blackdog wrote:
I use grep, it work just fine on all of my systems sun Solaris, but on
one particully system it alwyas hang. The system I built as other
system, there is no different from other systems I have.
It seems that the grep command grep the first file then hang. It could
not grep the string for
next file. The command I use as below:
grep xxx *
grep all of file in the same directory.
What directory are you in and what types of files are there?
They all are plan text files, and it is not in /dev directory.
Just regular directory data files. And the files is not large ether.
I can grep easily on other system in the same directory.
If you're in /dev there are plenty of files that will take a veryWould you please elaborate a littile more about tty* vs. grep hang and
long time before they run out of data like the device file of a
large filesystem, and others like tty* that will wait until
someone hooks up a terminal and types ^D.
^D
If you're in /var/spool/lp you might have a FIFO file that
might never have an end up file.
If you're NFS mounted maybe the server went down.
Many other possibilities that can't be guessed without context.
.
- Follow-Ups:
- Re: grep hang - grep xxxx *
- From: Tim Skirvin
- Re: grep hang - grep xxxx *
- From: Doug Freyburger
- Re: grep hang - grep xxxx *
- References:
- grep hang - grep xxxx *
- From: blackdog
- Re: grep hang - grep xxxx *
- From: Doug Freyburger
- grep hang - grep xxxx *
- Prev by Date: Re: grep hang - grep xxxx *
- Next by Date: Re: grep hang - grep xxxx *
- Previous by thread: Re: grep hang - grep xxxx *
- Next by thread: Re: grep hang - grep xxxx *
- Index(es):
Relevant Pages
|
|