Finally got the file in the right format!

Used Unix utility 'od' to convert from binary to ascii but in 7 bit

Used Unix 'strings' command to convert line endings

Used 'flip' command in ubuntu to convert to 8 bit file (needed to ftp file
to ubuntu machine and back.

Wow!  Glad that's over.

Thanks to all for your suggestions and help

Roy

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Drew William
Henderson
Sent: Wednesday, November 10, 2010 10:16 AM
To: U2 Users List
Subject: Re: [U2] Reading a Unix file from another machine.

It's been a LOOOONNNNGGGG time since I worked with this kind of stuff, so if
this is a silly idea, just say "Nope...these aren't the droids you're
looking for". :-)

Could you treat the file as a tape, and make use of READT?

Drew thinkingoutsidetheboxbeforelunchisabadidea Henderson ;-)

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of fft2...@aol.com
Sent: Wednesday, November 10, 2010 9:01 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Reading a Unix file from another machine.

In a message dated 11/10/2010 4:55:04 AM Pacific Standard Time, 
ggal...@wyanokegroup.com writes:


> This sounds like a job for a quick perl routine. 
> Read the file in byte by byte, and AND it with 127, then write it
>    out byte by byte to a new file.
> 
> George
> 

No George this will not work.
Each "byte" you read will be 8 bits, so you'll be grabbing an extra "bit" 
from the next byte which is wrong you see.

You have to read it in 7 bits at a time, and you cannot.  That's why my 
56bit read makes sense.

Will 56bit Johnson
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to