xfer problems sco-sun
Bill Vermillion
fp at wjv.com
Thu Apr 1 17:18:23 PST 2004
On Thu, Apr 01, 2004 at 03:35:18PM -0500, Brian K. White thus spoke:
> Jay R. Ashworth wrote:
> > On Thu, Apr 01, 2004 at 02:17:07PM -0500, Brian K. White wrote:
> >> swapcpu? Just sounds like:
> >> dd conv=swab if=in.txt of=out.txt
And you said the 'swab' was SCO syntax, but not really. It's been
around for years on others.
> >
> > *Ghod* no.
> > You only have to swap the *record headers*, where there is binary
> > data. Everything else is stored in ASCII; if you swap it, you'll
> > trash the data.
> Interesting, annoying too. Oh well, back to the original
> problem which is that xfer should have worked.
Just split the each record into two pieces, swap the heard, and add
the rest. I did something similar a very long time ago before the
xfer program existed. As I recall it's just the first 20 bytes
that need to be swapped.
Bill
--
Bill Vermillion - bv @ wjv . com
More information about the Filepro-list
mailing list