From owner-freebsd-questions@FreeBSD.ORG Tue Dec 12 06:38:22 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D803216A415 for ; Tue, 12 Dec 2006 06:38:22 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89F2E43CCB for ; Tue, 12 Dec 2006 06:37:00 +0000 (GMT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id kBC6c9u1031468 for ; Mon, 11 Dec 2006 22:38:15 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id kBC6c9JZ031467 for freebsd-questions@FreeBSD.ORG; Mon, 11 Dec 2006 22:38:09 -0800 (PST) (envelope-from kline) Date: Mon, 11 Dec 2006 22:38:09 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20061212063808.GA31424@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: can I use perl substitution to handle hex chars? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2006 06:38:22 -0000 To the tool wizards out there, Seems like lots of files I get off the net use \x80\x98 or the like to denote various non-ascii characters. Is there a way to use perl (or any other unix tool) to replace \x\x with, say whatever ASCII or ISO-8859-1 character or characters? thanks in advance, guys, gary -- Gary Kline kline@thought.org www.thought.org Public Service Unix