From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,605aabdb8f59aaec X-Google-Attributes: gidfa528,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!lon-transit.news.telstra.net!lon-in.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mail From: TyBreaker User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: A little UNIX scripting challenge... References: <60fdd9c9.0405270723.33f51cc3@posting.google.com> <60fdd9c9.0405280326.429d5294@posting.google.com> In-Reply-To: <60fdd9c9.0405280326.429d5294@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Fri, 28 May 2004 21:48:06 GMT NNTP-Posting-Host: 203.54.191.231 X-Complaints-To: abuse@bigpond.net.au X-Trace: news-server.bigpond.net.au 1085780886 203.54.191.231 (Sat, 29 May 2004 07:48:06 EST) NNTP-Posting-Date: Sat, 29 May 2004 07:48:06 EST Organization: BigPond Internet Services Xref: controlnews3.google.com comp.unix.tru64:78 nikki_wire wrote: > With the output you generated with your script, I'd like to remove all > the spaces and split the data into 7 bit chunks starting from the end. > These 7 bit chunks would then be decoded back to hex. So for our > example: 00000000 01000000 10010101 10001011 00000101 11001101 > 10010000 01110000 11101010 10000001 becomes: > > 1000000 => 40 > 1010101 => 55 > 1100001 => 61 Sorry, lost you here, don't understand from what you said how you arrived at these 7-bit sequences.