[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master 644cdd1: Use grep's --null option (Bug#6843)

From: Michael Albinus
Subject: Re: [Emacs-diffs] master 644cdd1: Use grep's --null option (Bug#6843)
Date: Thu, 27 Jul 2017 15:30:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Dmitry Gutov <address@hidden> 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
         $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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]