From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: `grep' command on MS Windows with Cygwin, looking for text with Unicode chars Date: Wed, 13 Jun 2018 16:37:35 -0700 (PDT) Message-ID: References: <356e7bf9-3f93-448c-a067-f6b567d5aa5a@default> <83y3fi33or.fsf@gnu.org> <27454117-5bab-43ce-9bf3-d9e4ac5f2219@default> <20180613165924726126400@bob.proulx.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 1528932983 25856 195.159.176.226 (13 Jun 2018 23:36:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2018 23:36:23 +0000 (UTC) To: Bob Proulx , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 14 01:36:19 2018 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 1fTFJK-0006Zs-Q8 for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Jun 2018 01:36:18 +0200 Original-Received: from localhost ([::1]:37336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTFLQ-0005aT-2H for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Jun 2018 19:38:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTFKi-0005XI-Lx for help-gnu-emacs@gnu.org; Wed, 13 Jun 2018 19:37:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTFKe-0007iG-Ok for help-gnu-emacs@gnu.org; Wed, 13 Jun 2018 19:37:44 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:33164) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fTFKe-0007h6-DO for help-gnu-emacs@gnu.org; Wed, 13 Jun 2018 19:37:40 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5DNYjOt166794; Wed, 13 Jun 2018 23:37:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=drd++L4TGoic0Wl/jmKzkmPoI6ZQheb0vuS8H+8/XIg=; b=S4uQtzKxltvBwhVc6kVEMw2SrBXyNe51Q7lsGwB5/M9MksJZHuGJ2xP5JJfF8LBXuvxF ui3CoYq/t8VoIMhygNS7JDkFMbOZSlu/X/xC98odYRnW3OcM/YYR9Le6edq/su0z/+om RGklicMRV4MSqy0MrvFv/5aA1I8zRZOSFS3CpS97nABcMBwH+VQD57Eei+Ln27JNwO79 1ADFesI8RZyJnXi56/H7XEKee4czFPiRQRhtK1gqBt4NKBAhuFsoqwCx0w7fU+jfrt74 xOgi0x5wzfTBHqBCGlaMgfcDmnPAJHK0B18qRbXZQg487DUbu1hWXySAcv8Z4SY3xGY+ zQ== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2120.oracle.com with ESMTP id 2jk0xrjqt3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Jun 2018 23:37:38 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w5DNbc1K002190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Jun 2018 23:37:38 GMT Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5DNbbYK030022; Wed, 13 Jun 2018 23:37:37 GMT In-Reply-To: <20180613165924726126400@bob.proulx.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4690.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8923 signatures=668702 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=849 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806130252 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 141.146.126.78 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:117157 Archived-At: > Depending upon what you are wanting to do I might mention that emacs > dired can be very powerful here. >=20 > I am often doing C-x d to start dired. Then using: >=20 > C-x d RET ;; open directory dired > % g REGEXP ;; mark all files containing pattern > Q REGEXP TO ;; Perform query-replace-regexp on marked files >=20 > If nothing else then % g is a native emacs way to search contents of > files and should handle unicode as well as for other tasks. Excellent reminder about that, Bob. That was the same reason I used Icicles search - let Emacs itself do the searching/matching. I still would like to be able to also use `M-x grep'.