From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.help Subject: Re: Does grep work in Windows Date: Tue, 23 Jan 2007 23:38:24 +0100 Message-ID: <45B68E60.9010401@gmail.com> References: <2c75873c0701231323r38c7c6bbgbe36dcb8c6d2f0c9@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1169591946 27355 80.91.229.12 (23 Jan 2007 22:39:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Jan 2007 22:39:06 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 23 23:39:03 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H9UIB-0001mE-7e for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Jan 2007 23:39:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9UIA-0002rp-R3 for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Jan 2007 17:39:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H9UHw-0002pE-9w for help-gnu-emacs@gnu.org; Tue, 23 Jan 2007 17:38:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H9UHu-0002k6-GV for help-gnu-emacs@gnu.org; Tue, 23 Jan 2007 17:38:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9UHu-0002jv-C0 for help-gnu-emacs@gnu.org; Tue, 23 Jan 2007 17:38:46 -0500 Original-Received: from [80.76.149.213] (helo=ch-smtp02.sth.basefarm.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H9UHt-0001t1-Sf for help-gnu-emacs@gnu.org; Tue, 23 Jan 2007 17:38:46 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:65239 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1H9UHr-0003PI-9T; Tue, 23 Jan 2007 23:38:44 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666 Original-To: Graham Smith In-Reply-To: <2c75873c0701231323r38c7c6bbgbe36dcb8c6d2f0c9@mail.gmail.com> X-Antivirus: avast! (VPS 000706-0, 2007-01-23), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1H9UHr-0003PI-9T. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1H9UHr-0003PI-9T 44edb7d64c7c8479ec1048079769cb12 X-detected-kernel: Linux 2.6? (barebone, rare!) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40572 Archived-At: Graham Smith wrote: > In emacs 22 on windows should grep work? > > I am typing m-x grep which opens a line in the mini buffer that says > > Run grep (like this): grep -n > > and a message saying: Grep started at Tue Jan 23 21:19:22 > > I then add, as shown in the grepmode wiki the following to the mini buffer > > -e setq ~/.emacs > > giving me a full line in the minibuffer of > > Run grep (like this): grep -n -e setq ~/.emacs > > hit return and get a message that says > > 'grep' is not recognized as an internal or external command, > operable program or batch file. > > Can anyone point out what I am doing wrong. As someone else has pointed out "grep" is not a native command on MS Windows. To make it easier to setup Emacs on MS Windows I have therefor added grep and some other unix style programs to EmacsW32, see http://ourcomments.org/Emacs/EmacsW32Util.html#featsum