From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 01:56:21 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 C073F16A4CE for ; Tue, 8 Feb 2005 01:56:21 +0000 (GMT) Received: from smtp11.wanadoo.fr (smtp11.wanadoo.fr [193.252.22.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8028943D48 for ; Tue, 8 Feb 2005 01:56:21 +0000 (GMT) (envelope-from atkielski.anthony@wanadoo.fr) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1102.wanadoo.fr (SMTP Server) with ESMTP id 365EF1C00085 for ; Tue, 8 Feb 2005 02:56:20 +0100 (CET) Received: from pix.atkielski.com (ASt-Lambert-111-2-1-3.w81-50.abo.wanadoo.fr [81.50.80.3]) by mwinf1102.wanadoo.fr (SMTP Server) with ESMTP id 1DB361C00082 for ; Tue, 8 Feb 2005 02:56:20 +0100 (CET) X-ME-UUID: 20050208015620121.1DB361C00082@mwinf1102.wanadoo.fr Date: Tue, 8 Feb 2005 02:56:19 +0100 From: Anthony Atkielski X-Priority: 3 (Normal) Message-ID: <1667502496.20050208025619@wanadoo.fr> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: 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 01:56:21 -0000 Does anyone know why grep -R "\0x93" /www/htdocs turns up only binary files, even when I know there are text files in the directory that contain this character? Is there something special about the way I specify the search string that causes grep to behave differently? When I specify an 8-bit character like this alone for a search, it finds only binary files, even though this is a text character--as if it is looking at the search string and deciding that I want to search only binary files. The man page doesn't seem to say anything about this. Is it my imagination? -- Anthony