delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/27/12:31:14

From: Christopher Croughton <crough45 AT amc DOT de>
Message-Id: <97Oct27.192309gmt+0100.11657@internet01.amc.de>
Subject: Re: ANNOUNCE: Grep 2.1 uploaded
To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
Date: Mon, 27 Oct 1997 18:26:35 +0100
Cc: crough45 AT amc DOT de, djgpp AT delorie DOT com
In-Reply-To: <Pine.SUN.3.91.971027163713.20607B-100000@is> from "Eli Zaretskii" at Oct 27, 97 03:41:36 pm
Mime-Version: 1.0

Eli Zaretskii wrote:
> 
> "grep foobar non-existing-file" exits with no error message.  It might 
> dupe you into thinking that the file doesn't have matching lines, e.g. if 
> you mistype a name of an existing file.  Could be quite bad in some 
> cases.

Hmm, I'm not too bothered about it.  I almost always use either filename
completion or wildcards anyway, so I'm unlikely to see it.  It could be a 
problem in scripts I suppose.

Since the change is trivial (I did diff), I just copied the file from the 
DOS version to the Unix build directory (no point in doing a cdiff and 
patch!), did make and make install and it all works fine.  May as well 
have it fixed.  Thanks...

> (There's another minor bug, but that's so rare that it isn't worth 
> mentioning.)

Is it a million-to-one chance?  Everyone knows that they happen 9 times out
of 10 <g>...

(Looking at the diff, you're right, I won't see it on Unix...)

Chris C

- Raw text -


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