* Re: M-x grep: /dev/null appending workaround
[not found] <mailman.4468.1098388077.2017.bug-gnu-emacs@gnu.org>
@ 2004-10-21 20:39 ` Kevin Rodgers
2004-10-27 22:07 ` Jari Aalto
1 sibling, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2004-10-21 20:39 UTC (permalink / raw)
Dan Jacobson wrote:
> I have outsmarted M-x grep's /dev/null appending:
> (grep "zgrep -n -e TLS main*|colrm 77 #") for example.
> Making zgrep -n -e TLS main*|colrm 77 # /dev/null
> be what gets executed. You might want to document this workaround, or
> better yet, stop appending the /dev/null hack.
You have outsmarted yourself. Use M-x compile instead of M-x grep.
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: M-x grep: /dev/null appending workaround
[not found] <mailman.4468.1098388077.2017.bug-gnu-emacs@gnu.org>
2004-10-21 20:39 ` M-x grep: /dev/null appending workaround Kevin Rodgers
@ 2004-10-27 22:07 ` Jari Aalto
2004-11-18 18:11 ` Dan Jacobson
1 sibling, 1 reply; 4+ messages in thread
From: Jari Aalto @ 2004-10-27 22:07 UTC (permalink / raw)
* Wed 2004-10-20 Dan Jacobson <jidanni AT jidanni.org> gnu.emacs.bug
| I have outsmarted M-x grep's /dev/null appending:
| (grep "zgrep -n -e TLS main*|colrm 77 #") for example.
| Making zgrep -n -e TLS main*|colrm 77 # /dev/null
| be what gets executed. You might want to document this workaround, or
| better yet, stop appending the /dev/null hack.
I would use quotes around expression:
... -e 'TLS main*|colrm 77 #'
The /dev/null is unavoidable (because of old grep/egrep implementations)
Jari
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: M-x grep: /dev/null appending workaround
2004-10-27 22:07 ` Jari Aalto
@ 2004-11-18 18:11 ` Dan Jacobson
0 siblings, 0 replies; 4+ messages in thread
From: Dan Jacobson @ 2004-11-18 18:11 UTC (permalink / raw)
>>>>> "J" == Jari Aalto <jari.aalto@cante.net> writes:
| I have outsmarted M-x grep's /dev/null appending:
| (grep "zgrep -n -e TLS main*|colrm 77 #") for example.
J> I would use quotes around expression:
J> ... -e 'TLS main*|colrm 77 #'
(I was only looking for "TLS", and my # was purposely naked to wipe out
all following junk, i.e., /dev/null.)
^ permalink raw reply [flat|nested] 4+ messages in thread
* M-x grep: /dev/null appending workaround
@ 2004-10-20 2:28 Dan Jacobson
0 siblings, 0 replies; 4+ messages in thread
From: Dan Jacobson @ 2004-10-20 2:28 UTC (permalink / raw)
I have outsmarted M-x grep's /dev/null appending:
(grep "zgrep -n -e TLS main*|colrm 77 #") for example.
Making zgrep -n -e TLS main*|colrm 77 # /dev/null
be what gets executed. You might want to document this workaround, or
better yet, stop appending the /dev/null hack.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-11-18 18:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.4468.1098388077.2017.bug-gnu-emacs@gnu.org>
2004-10-21 20:39 ` M-x grep: /dev/null appending workaround Kevin Rodgers
2004-10-27 22:07 ` Jari Aalto
2004-11-18 18:11 ` Dan Jacobson
2004-10-20 2:28 Dan Jacobson
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.