> -----Ursprüngliche Nachricht-----
> Von: Dave Korn - [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 18. Mai 2004 12:59
> An: [EMAIL PROTECTED]
> 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/

Reply via email to