GNU bug report logs - #32093
27.0.50; M-x grep appends /dev/null to command line

Previous Next

Package: emacs;

Reported by: David Kastrup <dak <at> gnu.org>

Date: Sun, 8 Jul 2018 09:34:02 UTC

Severity: minor

Tags: fixed

Found in version 27.0.50

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #45 received at 32093 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 32093 <at> debbugs.gnu.org, dak <at> gnu.org, michael.albinus <at> gmx.de
Subject: Re: bug#32093: 27.0.50; M-x grep appends /dev/null to command line
Date: Tue, 10 Jul 2018 18:55:25 +0300
> From: Noam Postavsky <npostavs <at> gmail.com>
> Cc: 32093 <at> debbugs.gnu.org,  dak <at> gnu.org,  michael.albinus <at> gmx.de
> Date: Mon, 09 Jul 2018 17:43:46 -0400
> 
> > But is there a good reason why we use HELLO for that?  Why not README,
> > say, whose first line will always start with "Copyright"?
> 
> I don't think there's a reason to use HELLO in particular.  etc/README
> doesn't have Copyright on the first line, but it does have COPYRIGHT at
> the beginning of a line (I think we do want something specifically in
> etc/, because we know `data-directory' tells us where to find it).

I meant the top-level README, which I think always will include a
Copyright line.

But that was just a suggestion.  I see Paul decided to continue using
etc/HELLO, just with a different search patterns.  If we are OK with
that, we can put that issue to rest.

There's still a broader issue of whether a test done with plain 'grep'
holds for any other "grep-like" program.  I'm not sure what to do with
that.

We could even take one more step back and ask ourselves why do we need
this particular test.  I believe it's because we want to support file
names with embedded newlines, in which case perhaps such niche use
cases could be supported by a special command or a special user
option?  I mean, it sounds strange to let a tail wag the dog, no?




This bug report was last modified 6 years and 314 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.