From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 04:15:11 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 98A2516A4CF for ; Tue, 8 Feb 2005 04:15:11 +0000 (GMT) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADD5843D39 for ; Tue, 8 Feb 2005 04:15:10 +0000 (GMT) (envelope-from keramida@hellug.gr) Received: from igloo.linux.gr (localhost [127.0.0.1])j184FoM0024255 for ; Tue, 8 Feb 2005 06:15:52 +0200 Received: (from keramida@localhost) by igloo.linux.gr (8.13.2/8.13.2/Submit) id j184Fo7V024252 for freebsd-questions@freebsd.org; Tue, 8 Feb 2005 06:15:50 +0200 X-Authentication-Warning: igloo.linux.gr: keramida set sender to keramida@linux.gr using -f Date: Tue, 8 Feb 2005 06:15:50 +0200 From: Giorgos Keramidas To: freebsd-questions@freebsd.org Message-ID: <20050208041550.GC23720@igloo.linux.gr> References: <1667502496.20050208025619@wanadoo.fr> <200502071802.19719.reso3w83@verizon.net> <1913197329.20050208034914@wanadoo.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1913197329.20050208034914@wanadoo.fr> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-5.899, required 5, autolearn=not spam, ALL_TRUSTED -3.30, BAYES_00 -2.60) X-MailScanner-From: keramida@linux.gr Subject: Re: Another grep question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2005 04:15:11 -0000 On 2005-02-08 03:49, Anthony Atkielski wrote: > I'm looking for the hex character 93, which is an opening double > quotation mark in the Windows character set, not the literal string > "\0x93". Unless I'm mistaken, \0x93 in a regular expression means > "the character whose hex value is 93." Not really. Unless you have a shell that understands this sort of thing and expands the command line arguments to arbitrary 8-bit characters. Otherwise, "\0x93" means: A literal (escaped with '\') '0' character, followed by 'x', then followed by '9' and '3'.