From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 17:04:59 2009 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 25E8D1065676; Fri, 18 Dec 2009 17:04:59 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id A10A88FC1F; Fri, 18 Dec 2009 17:04:58 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nBIH4mnU001669; Fri, 18 Dec 2009 17:04:49 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk nBIH4mnU001669 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1261155889; bh=7O3dxDaOOMtl3iyXepiYo5skmp0fD9QiXd1ark599zM=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B2BB62B.9010609@infracaninophile.co.uk>|Date:=20F ri,=2018=20Dec=202009=2017:04:43=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20Nick=20Barnes=20|CC:=20War ren=20Block=20,=20glarkin@freebsd.org,=20=0D=0 A=20mexas@bristol.ac.uk,=20perryh@pluto.rain.com,=20=0D=0A=20freeb sd-questions@freebsd.org|Subject:=20Re:=20editing=20a=20binary=20f ile|References:=20<12053.1261154296@thrush.ravenbrook.com>|In-Repl y-To:=20<12053.1261154296@thrush.ravenbrook.com>|X-Enigmail-Versio n:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha 256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20b oundary=3D"------------enig18F17E18092FDAC9EC3E6379"; b=Hr0ajSTEKBUQlGv9hEwQtazjCYMITag25t+EQZS2fYJ9cZ4n1gL3cQFY1SdIE8110 1J51vTb5Wz7R8rfiyqrr03MujZHC5LrgYXiMO3u9PzbrsXSyUWwjryMZtZF//4I/Ak Hd4oV2pjJzSdgsqLrgreDADDgN4+TpIQatTIcyZI= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B2BB62B.9010609@infracaninophile.co.uk> Date: Fri, 18 Dec 2009 17:04:43 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Nick Barnes References: <12053.1261154296@thrush.ravenbrook.com> In-Reply-To: <12053.1261154296@thrush.ravenbrook.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig18F17E18092FDAC9EC3E6379" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk X-Mailman-Approved-At: Fri, 18 Dec 2009 17:41:29 +0000 Cc: glarkin@freebsd.org, perryh@pluto.rain.com, mexas@bristol.ac.uk, freebsd-questions@freebsd.org Subject: Re: editing a binary file 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: Fri, 18 Dec 2009 17:04:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig18F17E18092FDAC9EC3E6379 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Nick Barnes wrote: > All very interesting, but the OP is wanting to lose all the Fortran > record markers, not just the first (and last) four bytes of the file. > The record markers precede and follow each record, and give the > record's length. The size and enddian-ness of the record marker > itself depends on the Fortran implementation. He did say his binary files consisted of a single record... Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig18F17E18092FDAC9EC3E6379 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAksrtjAACgkQ8Mjk52CukIya2ACaArr1jcwsrYtZ3aRVnoAIOpdP yJIAmQHn6mp6sIX833s+GjkWou6xXtUc =M9or -----END PGP SIGNATURE----- --------------enig18F17E18092FDAC9EC3E6379--