www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/15/12:48:57

Xref: news2.mv.net comp.os.msdos.djgpp:6002
From: weiqigao AT crl DOT com (Weiqi Gao)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: grep crashes my machine too ...
Date: Mon, 15 Jul 1996 15:08:46 GMT
Organization: CRL Dialup Internet Access
Lines: 23
Message-ID: <4sdmvi$qnh@nntp.crl.com>
References: <Pine DOT OSF DOT 3 DOT 91a DOT 960715083949 DOT 7629A-100000 AT christa DOT unh DOT edu>
NNTP-Posting-Host: crl12.crl.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Christopher A Triebel <ctriebel AT christa DOT unh DOT edu> wrote:

>From: "Dr. John Refling" <refling AT comet DOT lbl DOT gov>
>>I think that grep does too.  I haven't analysed it very well, but it seems
>>to me that unbalanced qoutes kill it.  For example:
>>  fgrep "
>>sends my machine to its death.  Anybody else notice this?

>I noticed as well that when I run grep and forget to pipe or use a 
>filespec parameter I lock my machine hard.  I am not at home so I can't check
>the version of the grep, but I believe I got it with djgpp off one of the ftp
>sites ( two weeks ago or so ).  Any cause?  Any solution?  I will 
>recompile the code if I have to.

I tried to see how many pages a PostScript document has with the
command:
  grep %Page myfile.ps
and it hanged my computer.  (grep %%Pages myfile.ps worked fine.)

--
Weiqi Gao
weiqigao AT crl DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019