From: Danny YUE <sheepduke@gmail.com>
To: Emanuel Berg <moasen@zoho.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: grep
Date: Thu, 09 Mar 2017 19:25:54 +0800 [thread overview]
Message-ID: <87zigulmil.fsf@gmail.com> (raw)
In-Reply-To: <yw.86bmtau2wk.fsf@zoho.com>
Emanuel, are you talking to me...?
The OP's problem might be caused by a incorrectly configured PATH,
which I can't help because I'm not familiar with Windows/Emacs.
However anyway EShell grep should work by default.
For those who may need to know:
In EShell if you just use "grep" in the command line, it invokes
built-in grep facility implemented by emacs lisp.
And if you want to use system grep, you need to specify it by a leading
star like "*grep".
See below eshell log:
~ $ which grep
eshell/grep is a compiled Lisp function in ‘em-unix.el’
~ $ which *grep
/bin/grep
Emanuel Berg writes:
> Danny YUE wrote:
>
>> Just for mentioning another option if you
>> need it: Use M-x eshell which has a built-in
>> grep facility.
>
> What about M-x shell RET and then plain /bin/grep ?
next prev parent reply other threads:[~2017-03-09 11:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 3:49 grep Fred Stanke
2017-03-09 7:02 ` grep Danny YUE
2017-03-09 11:04 ` grep Emanuel Berg
2017-03-09 11:25 ` Danny YUE [this message]
2017-03-09 11:54 ` grep Emanuel Berg
2017-03-09 16:08 ` grep Fred Stanke
2017-03-09 7:59 ` grep Aleksandar Simić
2017-03-09 8:37 ` grep Emanuel Berg
2017-03-09 15:39 ` grep Eli Zaretskii
[not found] <mailman.4610.1050362510.21513.help-gnu-emacs@gnu.org>
2003-04-15 7:12 ` grep Kai Großjohann
2003-04-15 15:18 ` grep Kevin Rodgers
2003-04-16 20:21 ` grep Barman Brakjoller
-- strict thread matches above, loose matches on Subject: below --
2003-04-14 23:13 grep Lars Kristiansson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zigulmil.fsf@gmail.com \
--to=sheepduke@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=moasen@zoho.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).