all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* `grep' command on MS Windows with Cygwin, looking for text with Unicode chars
@ 2018-06-13 18:23 Drew Adams
  2018-06-13 18:40 ` Óscar Fuentes
  2018-06-13 19:08 ` Eli Zaretskii
  0 siblings, 2 replies; 15+ messages in thread
From: Drew Adams @ 2018-06-13 18:23 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org List

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?

[I'm using (an old) Cygwin `grep'.  Dunno whether that
matters.]

I tried to look for "'%s'" (curly-quote) in the Emacs
source code.

E.g., in `info.el' we now have this:
(format "Index for '%s'" string) instead of this:
(format "Index for `%s'" string)

I wanted to see if this kind of change was spread to
other files.

I tried things like "\\x2018%s\\x2019", with no luck.
Is there a simple approach that uses only `M-x grep'
and not, say, piping the result of iconv to grep?

I ended up doing the search using Icicles, but I'd
like to be able to do such a search also using
just `grep' (or `rgrep' etc.).



^ permalink raw reply	[flat|nested] 15+ messages in thread
[parent not found: <<356e7bf9-3f93-448c-a067-f6b567d5aa5a@default>]

end of thread, other threads:[~2018-06-14  2:40 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-13 18:23 `grep' command on MS Windows with Cygwin, looking for text with Unicode chars Drew Adams
2018-06-13 18:40 ` Óscar Fuentes
2018-06-13 19:09   ` Drew Adams
2018-06-13 19:16   ` Noam Postavsky
2018-06-13 19:22     ` Noam Postavsky
2018-06-13 19:28       ` Drew Adams
2018-06-13 19:26     ` Drew Adams
2018-06-13 19:08 ` Eli Zaretskii
2018-06-13 19:43   ` Tomas Nordin
2018-06-14  2:33     ` Eli Zaretskii
2018-06-14  2:40       ` Eli Zaretskii
     [not found] <<356e7bf9-3f93-448c-a067-f6b567d5aa5a@default>
     [not found] ` <<83y3fi33or.fsf@gnu.org>
2018-06-13 19:16   ` Drew Adams
2018-06-13 19:42     ` Eli Zaretskii
2018-06-13 23:09     ` Bob Proulx
2018-06-13 23:37       ` Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.