This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AW: grep hangs


> -----Ursprüngliche Nachricht-----
> Von: Dave Korn - dk@artimi.com
> [mailto:+cygwin+job+7a44e0a003.dk#artimi.com@spamgourmet.com]
> Gesendet: Dienstag, 18. Mai 2004 12:59
> An: cygwin@cygwin.com
> Betreff: RE: grep hangs (cygwin: addressed to exclusive sender for this
> address)
> 
> > -----Original Message-----
> > From: cygwin-owner On Behalf Of cygwin.20.job
> > Sent: 18 May 2004 08:59
> 
> > I have the problem that grep hangs after I try to search a
> > string in all
> > files of a directory.
> > grep fun *
> >
> > I can see that the grep process is idle as far as I
> > understand the first
> > letter in the ps right.
> >       PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
> > I    3144    3652    3144       3052  con 13724 09:52:02 /usr/bin/grep
> >
> > What is going wrong here?
> 
>   WFM.  Does it depend what directory you're in?  Is there something
> unusual
> in that directory, like a symlink to a device or other non-regular file
> type?
> 
I found it. The problem was that there was a file with the name '-' and grep thought to scan from standard input. After deleting everything is fine again.

Thanks 

   Franz



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]