From owner-freebsd-questions@FreeBSD.ORG Wed Oct 20 09:26:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F14791065693 for ; Wed, 20 Oct 2010 09:26:40 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from outbound.icp-qv1-irony-out1.iinet.net.au (outbound.icp-qv1-irony-out1.iinet.net.au [203.59.1.106]) by mx1.freebsd.org (Postfix) with ESMTP id 6589D8FC17 for ; Wed, 20 Oct 2010 09:26:39 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAP5Svkx8lIZo/2dsb2JhbAChWXG+O4VKBI1FIA X-IronPort-AV: E=Sophos;i="4.57,354,1283702400"; d="scan'208";a="724572240" Received: from unknown (HELO smtp.phoenix) ([124.148.134.104]) by outbound.icp-qv1-irony-out1.iinet.net.au with ESMTP; 20 Oct 2010 17:26:38 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id A7EA71723C; Wed, 20 Oct 2010 20:26:37 +1100 (EST) Date: Wed, 20 Oct 2010 20:26:37 +1100 From: andrew clarke To: Karl Vogel Message-ID: <20101020092637.GA13201@ozzmosis.com> References: <20101019130845.GA3773@current.Sisis.de> <20101020012100.938F5BF78@kev.msw.wpafb.af.mil> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101020012100.938F5BF78@kev.msw.wpafb.af.mil> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: filter a binary file and reduce 0x150a to 0x15 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: Wed, 20 Oct 2010 09:26:41 -0000 On Tue 2010-10-19 21:21:00 UTC-0400, Karl Vogel (vogelke+unix@pobox.com) wrote: > me% perl -0pe 's/\025\n/\025/g;' < blah | od -c Nitpicking a little, but Perl isn't part of the FreeBSD base any more. Most FreeBSD users probably have it installed, though (perhaps as a dependency)...