[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: |
Drew Adams |
Subject: |
RE: `grep' command on MS Windows with Cygwin, looking for text with Unicode chars |
Date: |
Wed, 13 Jun 2018 12:28:11 -0700 (PDT) |
> >>> 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".
Yes, I did. But that's OK. I learned something useful.
> Never mind me then.
Nope, sorry; can't do that. ;-)