help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: grep


From: Danny YUE
Subject: Re: grep
Date: Thu, 09 Mar 2017 19:25:54 +0800
User-agent: mu4e 0.9.18; emacs 25.2.1

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 ?




reply via email to

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