From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 644cdd1: Use grep's --null option (Bug#6843) Date: Thu, 27 Jul 2017 15:30:53 +0200 Message-ID: <8760ee6m7m.fsf@detlef> References: <20170720000208.23054.66272@vcs0.savannah.gnu.org> <20170720000210.0E44020A56@vcs0.savannah.gnu.org> <10f1ac4b-aca5-53e9-5112-b8312471df82@yandex.ru> <87d18n5as2.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501162285 1693 195.159.176.226 (27 Jul 2017 13:31:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Jul 2017 13:31:25 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Noam Postavsky , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 27 15:31:14 2017 Return-path: Envelope-to: ged-emacs-devel@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 1daisj-0008EZ-Lx for ged-emacs-devel@m.gmane.org; Thu, 27 Jul 2017 15:31:13 +0200 Original-Received: from localhost ([::1]:43032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daisn-0000nw-L7 for ged-emacs-devel@m.gmane.org; Thu, 27 Jul 2017 09:31:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daisY-0000lm-0r for emacs-devel@gnu.org; Thu, 27 Jul 2017 09:31:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daisU-0003xs-0F for emacs-devel@gnu.org; Thu, 27 Jul 2017 09:31:02 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:54563) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daisT-0003wr-Mb for emacs-devel@gnu.org; Thu, 27 Jul 2017 09:30:57 -0400 Original-Received: from detlef.gmx.de ([212.86.53.188]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Mb7pT-1dH7QL3xxj-00KhJz; Thu, 27 Jul 2017 15:30:55 +0200 In-Reply-To: (Dmitry Gutov's message of "Thu, 27 Jul 2017 15:01:21 +0300") X-Provags-ID: V03:K0:geMQgB+Pw+RHTccrJR3VQO7+pEK0Kni53y4dhCFw22Dn5HsUAdf AuRRakIORacQwpRJWIj2wlbbO7k4jnGZ/Xz7D91Z437us4Nz31zZUvFZwbbxRYZYM61BROY czWyA2bSSZkazJ+sRNjKRSvAbMJVh5tALQDfFsdDpqS3VeRwbt5sDnHW+GcwwJJIB4G9/jc sAKWcJhxn/dSIkNdZuAlw== X-UI-Out-Filterresults: notjunk:1;V01:K0:cyOMUqyUxWU=:Xa9cc6hN3ORe13DTEfDQND mOvilq0JKA0N110jH3BwcDa+Aobs5i4mQagjHVWzKjri4y951w0c8KZ041T6yUXwVik8bJe7h RzlDBqHeNXy8KOLje6ot99fkz2pi9U2OWVXrCsC6dN7EZGx51WfcLWsuGlUl/kDybtsBEuvIj MTioBuH3CtYoo6nxASXqWDUIQTQd3WIw8x2iYXDsaBND/q3/KkXi85au0VGr/ib02VRTplM4v G0jOpZT7dZIrNipjzCetO456hQuq/ZTyk7joZ8S/7/JfFtQs7zA+KPWFeJYE4agapynDuEOfN bSOF9BgZmhe2IW77tU3r88XX0lg4fADE2N9odY1Ay3V5yqyHJegp6q9NhXO+prjTPll9BeGVN NMldKnQ/cwnBkC3NdvYzTPL3QKnCeS28uXJnM+VpOGxBxOwDbi3Z/9vHM1PrgTzPAMSJo+ZsG qHTvJ2eeq3l+2JIFUO7T04+3essqasrVRYC7OKrbkDXTKN0DvnSIge8XNt+4Vrib+ouq+we1s /WhHaEX5jTjBgGkwzzNaOSkAYqaqHxHthj23lDw36CX+tUJSUwx69HEW+iUGf4YYF4ewEVwaT A0w2/uFnB9SHXSkIX4oHzRdMSRTbzlkbjdl7fDeJiigc+IIj2oMKLM6UAp1lhUbQAKOf+WRS/ SNVrd9P7XxDzqjL2siF6U1siJETqJLrtnLmz53pAirVAHDljXa+G0eqgXGlLL6o8AA+0VzWYg h4tQlEKtRksRjlSEt8oPjd4VphLILndyajOIiDFSDU8xF8qAKKwiOfqnLoNSOzgahslmILpv X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217076 Archived-At: Dmitry Gutov writes: Hi Dmitry, >> # grep --null a * >> grep: unrecognized option `--null' >> BusyBox v1.01 (2017.06.06-18:34+0000) multi-call binary > > Do people use [recent versions of] Emacs in BusyBox environments, though? The example above is from my QNAP NAS server. Indeed, there is an Emacs installation on this machine. But this is not my use case. And it is not only BusyBox which counts. On HP-UX 11.31, you'll see HP's grep implementation: --8<---------------cut here---------------start------------->8--- # what /usr/bin/grep /usr/bin/grep: $Revision: B.11.31_LR # grep --null a * grep: illegal option -- - grep: illegal option -- u usage: grep [-E|-F] [-c|-l|-q] [-bhinsvwx] -e pattern_list... [-f pattern_file...] [file...] usage: grep [-E|-F] [-c|-l|-q] [-bhinsvwx] [-e pattern_list...] -f pattern_file... [file...] usage: grep [-E|-F] [-c|-l|-q] [-bhinsvwx] pattern [file...] --8<---------------cut here---------------end--------------->8--- And yes, there's also an Emacs installation on HP-UX 11.31, I'll use occasionally @work. But my major use case is to call `grep' and friends remotely, from my local Emacs, running in an Ubuntu environment. The remote machine could run anything, which does not conform to GNU grep. Best regards, Michael.