From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 02:44:49 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29A2E16A4CE for ; Tue, 8 Feb 2005 02:44:49 +0000 (GMT) Received: from smtp11.wanadoo.fr (smtp11.wanadoo.fr [193.252.22.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8CBB43D3F for ; Tue, 8 Feb 2005 02:44:48 +0000 (GMT) (envelope-from atkielski.anthony@wanadoo.fr) Received: from me-wanadoo.net (unknown [127.0.0.1]) by mwinf1107.wanadoo.fr (SMTP Server) with ESMTP id 0D7111C00090 for ; Tue, 8 Feb 2005 03:44:48 +0100 (CET) Received: from pix.atkielski.com (ASt-Lambert-111-2-1-3.w81-50.abo.wanadoo.fr [81.50.80.3]) by mwinf1107.wanadoo.fr (SMTP Server) with ESMTP id E7AF71C0008E for ; Tue, 8 Feb 2005 03:44:47 +0100 (CET) X-ME-UUID: 20050208024447949.E7AF71C0008E@mwinf1107.wanadoo.fr Date: Tue, 8 Feb 2005 03:44:47 +0100 From: Anthony Atkielski X-Priority: 3 (Normal) Message-ID: <757352437.20050208034447@wanadoo.fr> To: freebsd-questions@freebsd.org In-Reply-To: References: <1667502496.20050208025619@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Another grep question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2005 02:44:49 -0000 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