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!news2.google.com!news.maxwell.syr.edu!news.mel.connect.com.au!ken-transit.news.telstra.net!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: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <_zOtc.15217$L.7612@news-server.bigpond.net.au> Date: Fri, 28 May 2004 21:56:10 GMT NNTP-Posting-Host: 203.54.191.231 X-Complaints-To: abuse@bigpond.net.au X-Trace: news-server.bigpond.net.au 1085781370 203.54.191.231 (Sat, 29 May 2004 07:56:10 EST) NNTP-Posting-Date: Sat, 29 May 2004 07:56:10 EST Organization: BigPond Internet Services Xref: controlnews3.google.com comp.unix.tru64:79 TyBreaker wrote: > 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. Oh wait, just worked it out. What are you trying to achieve here with all the changes in base and direction of bits etc? You're not getting me to code an atomic bomb or an underwear detector by any chance are you?