Another grep question

Anthony Atkielski atkielski.anthony at wanadoo.fr
Mon Feb 7 18:44:49 PST 2005


Giorgos Keramidas writes:

GK> It may not be related to what you are seeing, but grep(1)
GK> is locale-aware.  What it considers a "text" character
GK> depends on the current locale settings.

I tried setting LC_ALL to en_US.UTF-8, en_US.ISO8859-15, and
en_US.ISO8859-1, with no effect.  The character in question is an
opening double quotation mark in the Windows character set.  I want to
find it in my Web pages and replace it by an appropriate HTML escape
sequence.  I know it's out there, but grep isn't finding it, or I'm not
telling it how to find the character correctly.

-- 
Anthony




More information about the freebsd-questions mailing list