From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Fred Stanke Newsgroups: gmane.emacs.help Subject: RE: grep Date: Thu, 9 Mar 2017 16:08:45 +0000 Message-ID: References: <8737enlyos.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1489075770 10183 195.159.176.226 (9 Mar 2017 16:09:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Mar 2017 16:09:30 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Danny YUE , Anast Gramm Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 09 17:09:25 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cm0cu-0001UK-Mj for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 17:09:16 +0100 Original-Received: from localhost ([::1]:34983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cm0d0-0003Go-NM for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 11:09:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cm0cY-0003GT-Iu for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 11:08:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cm0cT-0003K9-3u for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 11:08:54 -0500 Original-Received: from mail-by2nam03on0071.outbound.protection.outlook.com ([104.47.42.71]:51168 helo=NAM03-BY2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cm0cS-0003Jp-QX for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 11:08:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=primenanoinc.onmicrosoft.com; s=selector1-primenanoinc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=DZxN5cL0gVNZT3JnXyc1oyJW5igoFcD6UYl4P7SXqN0=; b=V4Vf92faFXX+KExAxuCNqKP+Qh8HU1nsGVVRRI49Bet9cu3cCbaUmgLAQaFTXtSkf20FB4p/oP7PHCjFIXgBq+TC9ukD2ZV5KQM3PRz4HvRpZYS++iLgC9m3v68VNTvRL7ujYiEHTuqUKEnFleuBDoUxfoOCsHMiM5p7NFwihL0= Original-Received: from DM5PR20MB1242.namprd20.prod.outlook.com (10.173.135.136) by DM5PR20MB1244.namprd20.prod.outlook.com (10.173.135.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.12; Thu, 9 Mar 2017 16:08:45 +0000 Original-Received: from DM5PR20MB1242.namprd20.prod.outlook.com ([10.173.135.136]) by DM5PR20MB1242.namprd20.prod.outlook.com ([10.173.135.136]) with mapi id 15.01.0947.020; Thu, 9 Mar 2017 16:08:45 +0000 Thread-Topic: grep Thread-Index: AdKYhvow6sZtksabQB26aKMH4S4cQwAHDU+AABMJN8A= In-Reply-To: <8737enlyos.fsf@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=stanke@primenanoinc.com; x-originating-ip: [162.246.145.218] x-ms-office365-filtering-correlation-id: 70bc748c-bdb5-4fed-81ce-08d467069082 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DM5PR20MB1244; x-microsoft-exchange-diagnostics: 1; DM5PR20MB1244; 7:X0p3vvk+ahWBv/WIdVU0AixLx8KmIvajDLqn7x/+Y7Q01ASPscLlq7Rt6GwLC5/YJkKGFX5O6zE3jI7NenheMN7RxYYiWsRWd7KijZBiAV+uhRgfPjgi1Oud7wfLRaDefY5eVTfMn+A9fN/akZWfIJEUN5DhcWY9gD978P2GQWEgZkmHEmcGN5s0tzBiQ7BEJKUFSeUH7xcKk1P2g31SlnFLOmKe0nG01fWMMBnieg8PiE9GEta1q0Rpi1oQ4MsNX8W/TNY4LMFIsJjg37YIj4jEttw5HJaClEiJv3sukBiMPN6UcAGRO4LOE4jDjMcndXHP/+tTEsKn67EK8LEp9g== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(22074186197030); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123560025)(20161123555025)(20161123564025)(20161123558025)(20161123562025)(2016111802025)(6043046)(6072148); SRVR:DM5PR20MB1244; BCL:0; PCL:0; RULEID:; SRVR:DM5PR20MB1244; x-forefront-prvs: 0241D5F98C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39830400002)(39410400002)(39450400003)(13464003)(69234005)(377454003)(57704003)(99286003)(5660300001)(53936002)(3280700002)(9686003)(53546006)(2906002)(122556002)(7696004)(33656002)(50986999)(3480700004)(66066001)(305945005)(25786008)(7116003)(86362001)(74316002)(6506006)(8936002)(77096006)(54356999)(3660700001)(6116002)(6436002)(76176999)(2900100001)(229853002)(55016002)(6246003)(3846002)(4326008)(221733001)(38730400002)(39060400002)(2950100002)(81166006)(189998001)(8676002)(102836003)(7736002)(460985005); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR20MB1244; H:DM5PR20MB1242.namprd20.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; received-spf: None (protection.outlook.com: primenanoinc.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM X-OriginatorOrg: primenanoinc.com X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Mar 2017 16:08:45.6177 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c7b2491a-7d17-4fef-bc5d-ff6a71bc988b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR20MB1244 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.42.71 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112490 Archived-At: Woo hoo! Thanks guys! -----Original Message----- From: Danny YUE [mailto:sheepduke@gmail.com]=20 Sent: Wednesday, March 8, 2017 11:03 PM To: Fred Stanke Cc: help-gnu-emacs@gnu.org Subject: Re: grep Just for mentioning another option if you need it: Use M-x eshell which has a built-in grep facility. Danny Fred Stanke writes: > I have emacs installed at > C:\Applications\Emacs\bin\runemacs.exe > It uses, *I believe* > c:/Users/Fred/AppData/Roaming/.emacs.d/init.el > > when I try to do a grep, I get this error: > > -*- mode: grep; default-directory: "c:/Users/Fred/" -*- Grep started=20 > at Wed Mar 8 19:46:54 > > grep -n the *.txt NUL > 'grep' is not recognized as an internal or external command, operable=20 > program or batch file. > > Grep exited abnormally with code 1 at Wed Mar 8 19:46:54 > > What do I need to do to get grep to work. > (FYI: I have deleted at least one Cygwin installation I had tried.)