From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris McMahan Newsgroups: gmane.emacs.help Subject: Re: Does grep work in Windows Date: Tue, 23 Jan 2007 16:36:27 -0500 Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1169588582 14986 80.91.229.12 (23 Jan 2007 21:43:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Jan 2007 21:43:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 23 22:42:55 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 1H9TPn-0005Et-4r for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Jan 2007 22:42:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9TPh-000884-CK for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Jan 2007 16:42:45 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: panix5.panix.com Original-X-Trace: reader2.panix.com 1169588182 2002 166.84.1.5 (23 Jan 2007 21:36:22 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Tue, 23 Jan 2007 21:36:22 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:E6diO29GNDqmbVQsy0B2K2vURmU= Original-Xref: shelby.stanford.edu gnu.emacs.help:144964 Original-To: help-gnu-emacs@gnu.org 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:40568 Archived-At: "Graham Smith" writes: > 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. > Many thanks, > > Graham Grep is not a native program with windows. I installed the cygwin unix environment on my xp machine, and have been successfully using the grep command from there for some time. www.cygwin.com - Chris McMahan -- (. .) =ooO=(_)=Ooo===================================== Chris McMahan | firstinitiallastname@onedotnet =================================================