emacs-devel
[Top][All Lists]
Advanced

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

Re: What does Emacs on w32 know that grep can't figure out?


From: Eli Zaretskii
Subject: Re: What does Emacs on w32 know that grep can't figure out?
Date: Fri, 01 Oct 2010 09:09:41 +0200

> From: Juanma Barranquero <address@hidden>
> Date: Fri, 1 Oct 2010 01:58:38 +0200
> Cc: Emacs-Devel devel <address@hidden>
> 
> > Is grep sometimes useless on w32 now, or?
> 
> It will be useless whenever you try to grep a file in a coding system
> the grep tool does not support...

Grep treats its input as a stream of bytes.  So it will not be able to
support any encoding where each character, including ASCII, takes 2 or
more bytes.  Unless you also encode the search string in the same
encoding, that is.



reply via email to

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