Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: TyBreaker <tybreakerNO@SPAMhotmail.com>
Subject: Re: A little UNIX scripting challenge...
Date: Wed, 02 Jun 2004 23:44:41 GMT	[thread overview]
Message-ID: <JDtvc.3122$rz4.2989@news-server.bigpond.net.au> (raw)
In-Reply-To: <60fdd9c9.0406020140.30766c49@posting.google.com>

nikki_wire wrote:
> Well, if you know how to write an undewear detector, I'd be intrigued
> to know...! Actually what this is for is to decode some data from one
> of my company's applications - at the moment it's a prolonged manual
> process.

Well it's easy to remove the spaces to get you one long string of 1's 
and 0's.  Just remove the space immediately following the %.8d in my 
final awk command.  Then reverse the string using awk again in a similar 
way to how I reversed the original hex list - the catch is use '' (null) 
as the delimiter so that it separates each digits in the string.  Are 
you comfortable with doing this yourself?  I'm at home sick today so I 
don't have a Unix box to play with.


  reply	other threads:[~2004-06-02 23:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-27 15:23 A little UNIX scripting challenge nikki_wire
2004-05-28  5:22 ` TyBreaker
2004-05-28 11:26 ` nikki_wire
2004-05-28 21:48   ` TyBreaker
2004-05-28 21:56     ` TyBreaker
2004-05-28 16:12 ` nikki_wire
2004-06-02  9:40   ` nikki_wire
2004-06-02 23:44     ` TyBreaker [this message]
2004-06-04  8:53       ` nikki_wire
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox