| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| content-class: | urn:content-classes:message |
| MIME-Version: | 1.0 |
| Subject: | AW: grep hangs |
| Date: | Tue, 18 May 2004 18:46:10 +0200 |
| Message-ID: | <AE9593E6D161544D82CEFCA0552EEAAE01241380@ebexbn01.dpeb.de> |
| X-MS-Has-Attach: | |
| X-MS-TNEF-Correlator: | |
| From: | cygwin DOT 20 DOT job AT spamgourmet DOT com |
| To: | cygwin AT cygwin DOT com |
> -----Ursprüngliche Nachricht----- > Von: Dave Korn - dk AT artimi DOT com > [mailto:+cygwin+job+7a44e0a003.dk#artimi DOT com AT spamgourmet DOT com] > Gesendet: Dienstag, 18. Mai 2004 12:59 > An: cygwin AT cygwin DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |