From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jari Aalto Newsgroups: gmane.emacs.bugs Subject: Re: M-x grep: /dev/null appending workaround Date: Thu, 28 Oct 2004 01:07:46 +0300 Organization: Elisa Internet customer Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098914938 3146 80.91.229.6 (27 Oct 2004 22:08:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Oct 2004 22:08:58 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 28 00:08:43 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CMvyF-0006Vn-00 for ; Thu, 28 Oct 2004 00:08:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMw60-0002mi-GU for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Oct 2004 18:16:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CMw5x-0002lx-9j for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2004 18:16:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CMw5w-0002lP-7b for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2004 18:16:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMw5v-0002ke-PE for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2004 18:16:39 -0400 Original-Received: from [130.59.10.2] (helo=chx400.switch.ch) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CMvxq-0003Hb-Hi for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2004 18:08:18 -0400 Original-Received: from smtp31.kolumbus.fi ([193.229.0.36]) by chx400.switch.ch with esmtp (Exim 3.20 #1) id 1CMvxj-0006I4-00 for gnu-emacs-bug@moderators.isc.org; Thu, 28 Oct 2004 00:08:15 +0200 Original-Received: from news.kolumbus.fi (news.kolumbus.fi [193.229.0.31]) by smtp31.kolumbus.fi (8.12.10/8.12.4) with ESMTP id i9RM873H014129 for ; Thu, 28 Oct 2004 01:08:07 +0300 (EEST) Original-Received: (from news@localhost) by news.kolumbus.fi (8.11.6+Sun/8.11.6) id i9RM87E08873 for gnu-emacs-bug@moderators.isc.org; Thu, 28 Oct 2004 01:08:07 +0300 (EEST) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 14 Original-NNTP-Posting-Host: a81-197-3-110.elisa-laajakaista.fi Original-X-Trace: phys-news1.kolumbus.fi 1098914886 6301 81.197.3.110 (27 Oct 2004 22:08:06 GMT) Original-X-Complaints-To: abuse@kolumbus.fi Original-NNTP-Posting-Date: Wed, 27 Oct 2004 22:08:06 +0000 (UTC) User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:XGG4zt7ZPgcy4rQ40RRsg6+VEqY= X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:9481 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9481 * Wed 2004-10-20 Dan Jacobson 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