help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `grep' command on MS Windows with Cygwin, looking for text with Unic


From: Noam Postavsky
Subject: Re: `grep' command on MS Windows with Cygwin, looking for text with Unicode chars
Date: Wed, 13 Jun 2018 15:22:17 -0400

On 13 June 2018 at 15:16, Noam Postavsky <npostavs@gmail.com> wrote:
> On 13 June 2018 at 14:40, Óscar Fuentes <ofv@wanadoo.es> wrote:
>> Drew Adams <drew.adams@oracle.com> writes:
>>
>>> Is there a simple way to use `M-x grep' (e.g., giving it
>>> some switches or escape chars or replacing them with hex
>>> escapes or...) to search for some text that includes
>>> non-ASCII Unicode chars?
>
>> If there is a method, I'll like to know as well. This is the main reason
>> why I don't use Unicode in my source files.
>
> This seems to do the right with thing with the grep I have installed:
>
>     grep "[^[:cntrl:][:print:]]" *.el

Oh, just realized you probably meant "text which includes particular
non-ASCII characters", not "text which includes any non-ASCII
characters".

Never mind me then.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]