From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32093: 27.0.50; M-x grep appends /dev/null to command line Date: Tue, 10 Jul 2018 18:55:25 +0300 Message-ID: <834lh7gk5u.fsf@gnu.org> References: <87lgamdqcb.fsf@fencepost.gnu.org> <87pnzyawdg.fsf@gmx.de> <87h8ladpem.fsf@fencepost.gnu.org> <87lgamavq7.fsf@gmx.de> <87d0vydli6.fsf@fencepost.gnu.org> <87va9pdin0.fsf@gmail.com> <83pnzxh7lj.fsf@gnu.org> <87pnzwccfh.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1531238611 19185 195.159.176.226 (10 Jul 2018 16:03:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 10 Jul 2018 16:03:31 +0000 (UTC) Cc: 32093@debbugs.gnu.org, dak@gnu.org, michael.albinus@gmx.de To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 10 18:03:26 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fcv6p-0004p7-SD for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Jul 2018 18:03:23 +0200 Original-Received: from localhost ([::1]:48592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcv8w-0007S8-Sj for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Jul 2018 12:05:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcuzk-0007XH-TY for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2018 11:56:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcuzi-0007zn-VL for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2018 11:56:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46299) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcuzi-0007zc-Q4 for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2018 11:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fcuzi-0000HN-Gj for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2018 11:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Jul 2018 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32093 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 32093-submit@debbugs.gnu.org id=B32093.15312381271021 (code B ref 32093); Tue, 10 Jul 2018 15:56:02 +0000 Original-Received: (at 32093) by debbugs.gnu.org; 10 Jul 2018 15:55:27 +0000 Original-Received: from localhost ([127.0.0.1]:54195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fcuz9-0000GP-FZ for submit@debbugs.gnu.org; Tue, 10 Jul 2018 11:55:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fcuz7-0000GB-Ua for 32093@debbugs.gnu.org; Tue, 10 Jul 2018 11:55:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcuyz-0007hU-MR for 32093@debbugs.gnu.org; Tue, 10 Jul 2018 11:55:20 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcuyx-0007de-66; Tue, 10 Jul 2018 11:55:15 -0400 Original-Received: from [176.228.60.248] (port=4608 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fcuyw-0004DX-Eb; Tue, 10 Jul 2018 11:55:14 -0400 In-reply-to: <87pnzwccfh.fsf@gmail.com> (message from Noam Postavsky on Mon, 09 Jul 2018 17:43:46 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:148414 Archived-At: > From: Noam Postavsky > Cc: 32093@debbugs.gnu.org, dak@gnu.org, michael.albinus@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?