From owner-freebsd-chat Mon Jun 28 2:48:15 1999 Delivered-To: freebsd-chat@freebsd.org Received: from mail.palmerharvey.co.uk (mail.palmerharvey.co.uk [62.172.109.58]) by hub.freebsd.org (Postfix) with ESMTP id 09F7B14C96 for ; Mon, 28 Jun 1999 02:48:09 -0700 (PDT) (envelope-from Dom.Mitchell@palmerharvey.co.uk) Received: from ho-nt-01.pandhm.co.uk (unverified) by mail.palmerharvey.co.uk (Content Technologies SMTPRS 2.0.15) with ESMTP id ; Mon, 28 Jun 1999 10:48:00 +0100 Received: from voodoo.pandhm.co.uk (VOODOO [10.100.35.12]) by ho-nt-01.pandhm.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id NHL6LYGQ; Mon, 28 Jun 1999 10:39:01 +0100 Received: from dom by voodoo.pandhm.co.uk with local (Exim 2.10 #1) id 10yY1C-000CIy-00; Mon, 28 Jun 1999 10:48:02 +0100 Date: Mon, 28 Jun 1999 10:48:02 +0100 To: "Jason C. Wells" Cc: FreeBSD-chat Subject: Re: Data Manipulation Message-Id: <19990628104801.B45679@palmerharvey.co.uk> References: MIME-Version: 1.0 X-Mailer: Mutt 0.95.5i In-Reply-To: ; from Jason C. Wells on Sun, Jun 27, 1999 at 03:06:40PM -0700 From: Dominic Mitchell Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Jun 27, 1999 at 03:06:40PM -0700, Jason C. Wells wrote: > Well, i think hexdump is the answer but I still need help from someone who > knows zeros and ones. > > I have a collection of geo data. It is 16bit signed integer data, no > headers, no trailers, little endian, there are 10800 columns and 6000 > rows. > > Would someone please point me to a reference on converting data between > formats? How can I convert this data to human usable format? Your best bet would be to use perl and it's pack/unpack functions. See perlfunc(1) and possibly also perlfaq(1). -- Dom Mitchell -- Palmer & Harvey McLane -- Unix Systems Administrator "Always think very hard before messing with TCP. And then don't." -- MC -- ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. ********************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message